huzaifanafees commited on
Commit
12646ff
·
1 Parent(s): 8aed5de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ iface = gr.Interface(
53
  description=description,
54
  article=article,
55
  examples=examples,
56
- inputs=[gr.Textbox.submit(lines=5, placeholder="Enter text (maximum 35 words)", label="Input"),
57
  gr.Radio(choices=['en->ur','ur->en'], value='en->ur', label='Select the direction of translation'),],
58
  outputs="text",
59
  css= 'style.css')
 
53
  description=description,
54
  article=article,
55
  examples=examples,
56
+ inputs=[gr.Textbox(lines=5, placeholder="Enter text (maximum 35 words)", label="Input"),
57
  gr.Radio(choices=['en->ur','ur->en'], value='en->ur', label='Select the direction of translation'),],
58
  outputs="text",
59
  css= 'style.css')