Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,6 @@ def translate_to_sql(text):
|
|
| 19 |
gradio_interface = gradio.Interface(
|
| 20 |
fn = translate_to_sql,
|
| 21 |
inputs=gr.Textbox(lines=1, placeholder="Example - translate to SQL: When was Olympics held in Rome? table ID: ID, city, year, cost, attendees"),
|
| 22 |
-
outputs = "text"
|
| 23 |
-
)
|
| 24 |
|
| 25 |
gradio_interface.launch()
|
|
|
|
| 19 |
gradio_interface = gradio.Interface(
|
| 20 |
fn = translate_to_sql,
|
| 21 |
inputs=gr.Textbox(lines=1, placeholder="Example - translate to SQL: When was Olympics held in Rome? table ID: ID, city, year, cost, attendees"),
|
| 22 |
+
outputs = "text")
|
|
|
|
| 23 |
|
| 24 |
gradio_interface.launch()
|