Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -170,11 +170,15 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="violet")) as iface:
|
|
| 170 |
{"left": "\\[", "right": "\\]", "display": True}
|
| 171 |
]
|
| 172 |
)
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
|
| 179 |
# 🪄 Event handlers
|
| 180 |
subj.change(update_context, inputs=subj, outputs=context_display)
|
|
|
|
| 170 |
{"left": "\\[", "right": "\\]", "display": True}
|
| 171 |
]
|
| 172 |
)
|
| 173 |
+
with gr.Row():
|
| 174 |
+
upload_file = gr.File(label="📎", file_count="single", type="file")
|
| 175 |
+
msg = gr.Textbox(
|
| 176 |
+
label="💭 Type your question here...",
|
| 177 |
+
placeholder="Ask EduAI anything about your studies..."
|
| 178 |
+
)
|
| 179 |
+
send = gr.Button("✨ Send")
|
| 180 |
+
pause_btn = gr.Button("⏸ Pause")
|
| 181 |
+
|
| 182 |
|
| 183 |
# 🪄 Event handlers
|
| 184 |
subj.change(update_context, inputs=subj, outputs=context_display)
|