gbarone77 commited on
Commit
80a1529
·
1 Parent(s): 1bed5cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ 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=gr.Textbox(lines=1, placeholder="Example: translate to SQL: When was Olympics held in Rome? table ID: ID, city, year, cost, attendees")
22
- inputs = "text",
23
  outputs = "text"
24
  )
 
25
  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=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()