seemasaharann commited on
Commit
fdf2a48
·
verified ·
1 Parent(s): c2284db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -16,8 +16,9 @@ def translate(text):
16
  iface = gr.Interface(
17
  fn=translate,
18
  inputs=gr.Textbox(lines=10, placeholder="Enter text to summarize..."),
19
- outputs=gr.Textbox()
 
20
  )
21
 
22
  # Launch the Gradio app
23
- iface.launch(share=True)
 
16
  iface = gr.Interface(
17
  fn=translate,
18
  inputs=gr.Textbox(lines=10, placeholder="Enter text to summarize..."),
19
+ outputs=gr.Textbox(),
20
+ share=True
21
  )
22
 
23
  # Launch the Gradio app
24
+ iface.launch()