Janec09 commited on
Commit
f577fbe
·
verified ·
1 Parent(s): cab5d6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -215,7 +215,13 @@ with gr.Blocks(
215
  chatbot_topic=gr.CheckboxGroup(["Academia", "Extracurriculars", "Time Management", "Financial Aid"], label="What would you like advice about?")
216
  with gr.Row(scale=1):
217
  chatbot_mode=gr.CheckboxGroup(["Guidance Counselor Mode", "Peer Mode", "Parent Mode"], label="How would you like the chatbot to respond?")
218
-
 
 
 
 
 
 
219
 
220
  with gr.Row():
221
  save_button = gr.Button("💾 Save Chat History",
@@ -224,12 +230,6 @@ with gr.Blocks(
224
  download_button = gr.File(interactive=True,
225
  visible=True,
226
  elem_classes=["download-btn"])
227
-
228
- gr.ChatInterface(
229
- fn=respond,
230
- title="Accessible Intelligence Hub",
231
- description="Ask about your education",
232
- type="messages",
233
  )
234
  #with gr.Row(scale=1):
235
  #chatbot_topic=gr.CheckboxGroup(["Academia", "Extracurriculars", "Time Management", "Financial Aid"], label="What would you like advice about?")
 
215
  chatbot_topic=gr.CheckboxGroup(["Academia", "Extracurriculars", "Time Management", "Financial Aid"], label="What would you like advice about?")
216
  with gr.Row(scale=1):
217
  chatbot_mode=gr.CheckboxGroup(["Guidance Counselor Mode", "Peer Mode", "Parent Mode"], label="How would you like the chatbot to respond?")
218
+
219
+
220
+ gr.ChatInterface(
221
+ fn=respond,
222
+ title="Accessible Intelligence Hub",
223
+ description="Ask about your education",
224
+ type="messages",
225
 
226
  with gr.Row():
227
  save_button = gr.Button("💾 Save Chat History",
 
230
  download_button = gr.File(interactive=True,
231
  visible=True,
232
  elem_classes=["download-btn"])
 
 
 
 
 
 
233
  )
234
  #with gr.Row(scale=1):
235
  #chatbot_topic=gr.CheckboxGroup(["Academia", "Extracurriculars", "Time Management", "Financial Aid"], label="What would you like advice about?")