cindywqng commited on
Commit
5db66a2
·
verified ·
1 Parent(s): cfb91f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -180,14 +180,13 @@ with gr.Blocks(theme=theme) as demo:
180
  gr.HTML(iframe) # Embed the iframe on the left side
181
  gr.HTML(iframe2) # Embed the iframe on the right side
182
 
183
- with gr.Column():
184
- gr.Markdown(topics2) # Show the topics on the left side
185
- with gr.Row():
186
- with gr.Column():
187
- question = gr.Textbox(label="You", placeholder="What do you want to talk to CalmBot about?")
188
- answer = gr.Textbox(label="CalmBot's Response :D", placeholder="CalmBot will respond here..", interactive=False, lines=20)
189
- submit_button = gr.Button("Submit")
190
- submit_button.click(fn=query_model, inputs=question, outputs=answer)
191
 
192
 
193
 
 
180
  gr.HTML(iframe) # Embed the iframe on the left side
181
  gr.HTML(iframe2) # Embed the iframe on the right side
182
 
183
+ # Show the topics on the left side
184
+ with gr.Row():
185
+ with gr.Column():
186
+ question = gr.Textbox(label="You", placeholder="What do you want to talk to CalmBot about?")
187
+ answer = gr.Textbox(label="CalmBot's Response :D", placeholder="CalmBot will respond here..", interactive=False, lines=20)
188
+ submit_button = gr.Button("Submit")
189
+ submit_button.click(fn=query_model, inputs=question, outputs=answer)
 
190
 
191
 
192