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

Update app.py

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