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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -215,13 +215,6 @@ 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
- 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,6 +223,14 @@ with gr.Blocks(
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?")
 
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
  with gr.Row():
220
  save_button = gr.Button("💾 Save Chat History",
 
223
  download_button = gr.File(interactive=True,
224
  visible=True,
225
  elem_classes=["download-btn"])
226
+
227
+ gr.ChatInterface(
228
+ fn=respond,
229
+ title="Accessible Intelligence Hub",
230
+ description="Ask about your education",
231
+ type="messages",
232
+
233
+
234
  )
235
  #with gr.Row(scale=1):
236
  #chatbot_topic=gr.CheckboxGroup(["Academia", "Extracurriculars", "Time Management", "Financial Aid"], label="What would you like advice about?")