Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
| 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.
|
| 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)
|