sophcheng commited on
Commit
4e062ee
·
verified ·
1 Parent(s): d06a5bf

Update app.py

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