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

revert to list of inputs

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = 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
 
 
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