Hobson commited on
Commit
04e7329
·
1 Parent(s): 1d9b90e

single inputs_text2int

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -205,10 +205,10 @@ with gr.Blocks() as html_block:
205
  gr.Markdown("# Rori - Mathbot")
206
 
207
  with gr.Tab("Text to integer"):
208
- inputs_text2int = [
209
- gr.Text(placeholder="Type a number as text or a sentence", label="Text to process",
210
- value="forty two"),
211
- ]
212
 
213
  outputs_text2int = gr.Textbox(label="Output integer")
214
 
 
205
  gr.Markdown("# Rori - Mathbot")
206
 
207
  with gr.Tab("Text to integer"):
208
+ inputs_text2int = gr.Text(
209
+ placeholder="Type a number as text or a sentence",
210
+ label="Text to process",
211
+ value="forty two")
212
 
213
  outputs_text2int = gr.Textbox(label="Output integer")
214