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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -16,9 +16,8 @@ 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
- share=True
21
  )
22
 
23
  # Launch the Gradio app
24
- iface.launch()
 
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)