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