allyyy commited on
Commit
a9414e0
·
verified ·
1 Parent(s): 590d9f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -137,13 +137,13 @@ with gr.Blocks(theme=theme) as demo:
137
  gr.Markdown(welcome_message) # Display the formatted welcome message
138
 
139
 
140
- # Show the topics on the left side
141
- with gr.Row():
142
- with gr.Column():
143
- question = gr.Textbox(label="You", placeholder="What do you want to talk to CalmBot about?")
144
- answer = gr.Textbox(label="CalmBot's Response :D", placeholder="CalmBot will respond here..", interactive=False, lines=20)
145
- submit_button = gr.Button("Submit")
146
- submit_button.click(fn=query_model, inputs=question, outputs=answer)
147
 
148
  demo.launch()
149
 
 
137
  gr.Markdown(welcome_message) # Display the formatted welcome message
138
 
139
 
140
+ # Show the topics on the left side
141
+ with gr.Row():
142
+ with gr.Column():
143
+ question = gr.Textbox(label="You", placeholder="What do you want to talk to CalmBot about?")
144
+ answer = gr.Textbox(label="CalmBot's Response :D", placeholder="CalmBot will respond here..", interactive=False, lines=20)
145
+ submit_button = gr.Button("Submit")
146
+ submit_button.click(fn=query_model, inputs=question, outputs=answer)
147
 
148
  demo.launch()
149