jinhybr commited on
Commit
1c29a01
·
verified ·
1 Parent(s): 86c493f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,8 +58,8 @@ def text_to_sql(text):
58
  iface = gr.Interface(
59
  fn=text_to_sql,
60
  #inputs=gr.inputs.Textbox(lines=7, label="User Question"),
61
- inputs=gr.inputs.Textbox(lines=7, label="User Question"),
62
- inputs = ['How many schools won their last occ championship in 2006?']
63
  outputs=gr.outputs.Textbox(label="SQL Query"),
64
  title="Text to SQL Translator",
65
  description="Translate text to SQL query based on the provided schema."
 
58
  iface = gr.Interface(
59
  fn=text_to_sql,
60
  #inputs=gr.inputs.Textbox(lines=7, label="User Question"),
61
+ #inputs=gr.inputs.Textbox(lines=7, label="User Question"),
62
+ inputs = ['How many schools won their last occ championship in 2006?'],
63
  outputs=gr.outputs.Textbox(label="SQL Query"),
64
  title="Text to SQL Translator",
65
  description="Translate text to SQL query based on the provided schema."