Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ translator = pipeline("translation", model="Helsinki-NLP/opus-mt-it-en")
|
|
| 78 |
#Input example: 'translate to SQL: When was Olympics held in Rome? table ID: ID, city, year, cost, attendees'
|
| 79 |
gradio_interface = gradio.Interface(
|
| 80 |
fn = convert_question_to_SQL,
|
| 81 |
-
inputs=gradio.Textbox(lines=2, placeholder="
|
| 82 |
outputs = "text")
|
| 83 |
|
| 84 |
gradio_interface.launch()
|
|
|
|
| 78 |
#Input example: 'translate to SQL: When was Olympics held in Rome? table ID: ID, city, year, cost, attendees'
|
| 79 |
gradio_interface = gradio.Interface(
|
| 80 |
fn = convert_question_to_SQL,
|
| 81 |
+
inputs=gradio.Textbox(lines=2, placeholder=""),
|
| 82 |
outputs = "text")
|
| 83 |
|
| 84 |
gradio_interface.launch()
|