omeryentur commited on
Commit
d691d44
·
verified ·
1 Parent(s): 7ac6449

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,7 +53,7 @@ with gr.Blocks() as demo:
53
 
54
  with gr.Row():
55
  with gr.Column():
56
- text_input_schema = gr.Textbox(label="Schema")
57
  text_input_question = gr.Textbox(label="question")
58
  generate_btn = gr.Button("Create Sql Query")
59
 
@@ -64,7 +64,7 @@ with gr.Blocks() as demo:
64
  generate_btn.click(
65
  fn=generate_sql_query,
66
  inputs=[text_input_schema,text_input_question],
67
- outputs=[pattern_output]
68
  )
69
 
70
  if __name__ == "__main__":
 
53
 
54
  with gr.Row():
55
  with gr.Column():
56
+ text_input_schema = gr.TextArea(label="Schema")
57
  text_input_question = gr.Textbox(label="question")
58
  generate_btn = gr.Button("Create Sql Query")
59
 
 
64
  generate_btn.click(
65
  fn=generate_sql_query,
66
  inputs=[text_input_schema,text_input_question],
67
+ outputs=[output]
68
  )
69
 
70
  if __name__ == "__main__":