sophcheng commited on
Commit
2daef3a
·
verified ·
1 Parent(s): 49b487f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -178,15 +178,15 @@ with gr.Blocks(theme=theme) as demo:
178
  with gr.Row():
179
  with gr.Column():
180
  with gr.Row():
181
- with gr.Column():
182
- gr.Markdown(topicList)
183
- with gr.Row(equal_height=True):
184
- gr.Markdown(topics1) # Show the topics on the left side
185
- gr.Markdown(topics2)
186
- question = gr.Textbox(label="Your question:", placeholder="What do you want to ask about?")
187
- submit_button = gr.Button("Submit!")
188
- answer = gr.Textbox(label="AI-nswer:", placeholder="AI-nstein will respond here...", interactive=False, lines=10)
189
- submit_button.click(fn=query_model, inputs=question, outputs=answer)
190
 
191
 
192
  #def display_response(question):
 
178
  with gr.Row():
179
  with gr.Column():
180
  with gr.Row():
181
+ with gr.Column():
182
+ gr.Markdown(topicList)
183
+ with gr.Row(equal_height=True):
184
+ gr.Markdown(topics1) # Show the topics on the left side
185
+ gr.Markdown(topics2)
186
+ question = gr.Textbox(label="Your question:", placeholder="What do you want to ask about?")
187
+ submit_button = gr.Button("Submit!")
188
+ answer = gr.Textbox(label="AI-nswer:", placeholder="AI-nstein will respond here...", interactive=False, lines=10)
189
+ submit_button.click(fn=query_model, inputs=question, outputs=answer)
190
 
191
 
192
  #def display_response(question):