indiapuig commited on
Commit
69d8b11
·
verified ·
1 Parent(s): 0e53879

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -110,13 +110,13 @@ with gr.Blocks() as demo:
110
  gr.Markdown("# ACE it! 📚 — GCSE Biology Tutor")
111
 
112
  #Choose topic
113
- with gr.Row():
114
  with gr.Column(scale=1):
115
  topic_dropdown = gr.Dropdown(choices=BIO_TOPICS, label="Choose a Biology Topic")
116
  topic_button = gr.Button("Confirm Topic")
117
  topic_output = gr.Markdown()
118
 
119
- with gr.Column(scale=2):
120
  chatbot = gr.ChatInterface(respond, type="messages", title="Ace it!")
121
 
122
  topic_button.click(set_topic, inputs=topic_dropdown, outputs=topic_output)
 
110
  gr.Markdown("# ACE it! 📚 — GCSE Biology Tutor")
111
 
112
  #Choose topic
113
+ with gr.Column():
114
  with gr.Column(scale=1):
115
  topic_dropdown = gr.Dropdown(choices=BIO_TOPICS, label="Choose a Biology Topic")
116
  topic_button = gr.Button("Confirm Topic")
117
  topic_output = gr.Markdown()
118
 
119
+ with gr.Row(scale=2):
120
  chatbot = gr.ChatInterface(respond, type="messages", title="Ace it!")
121
 
122
  topic_button.click(set_topic, inputs=topic_dropdown, outputs=topic_output)