gbarone77 commited on
Commit
f6f11e9
·
1 Parent(s): b9af78f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="translate to SQL: When was Olympics held in Rome? table ID: ID, city, year, cost, attendees"),
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()