Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|