sophcheng commited on
Commit
36614ce
·
verified ·
1 Parent(s): 82ba95c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -152,8 +152,8 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
152
  with gr.Column():
153
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
154
  submit_button = gr.Button("Submit")
155
- submit_button.click(fn=query_model, inputs=question, outputs=answer)
156
  answer = gr.Textbox(label="AI-nstein Response", placeholder="AI-nstein will respond here...", interactive=False, lines=10)
 
157
 
158
 
159
  #def display_response(question):
 
152
  with gr.Column():
153
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
154
  submit_button = gr.Button("Submit")
 
155
  answer = gr.Textbox(label="AI-nstein Response", placeholder="AI-nstein will respond here...", interactive=False, lines=10)
156
+ submit_button.click(fn=query_model, inputs=question, outputs=answer)
157
 
158
 
159
  #def display_response(question):