Wfafa commited on
Commit
5f4b9fd
·
verified ·
1 Parent(s): 36eac66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -5
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
- msg = gr.Textbox(
174
- label="💭 Type your question here...",
175
- placeholder="Ask EduAI anything about your studies..."
176
- )
177
- send = gr.Button(" Send Message")
 
 
 
 
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)