mmargg commited on
Commit
bc551f0
·
verified ·
1 Parent(s): e1a28db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -185,8 +185,6 @@ print(top_results)
185
  chatbot = gr.ChatInterface(respond,type="messages", title="Accessible Intelligence Hub", theme="Taithrah/Minimal")
186
 
187
  with gr.Blocks(
188
- with gr.Row(scale=1):
189
- chatbot_topic=gr.CheckboxGroup(["Academia", "Extracurriculars", "Time Management", "Financial Aid"], label="What would you like advice about?")
190
  theme=gr.themes.Soft(
191
  primary_hue="purple",
192
  secondary_hue="fuchsia",
@@ -204,12 +202,15 @@ with gr.Blocks(
204
  button_primary_background_fill='*secondary_500',
205
  button_primary_background_fill_dark='*secondary_600'
206
  )
 
207
  ) as demo:
208
  gr.ChatInterface(
209
  fn=respond,
210
  title="Accessible Intelligence Hub",
211
  description="Ask about your education",
212
- type="messages"
 
 
213
  )
214
 
215
 
 
185
  chatbot = gr.ChatInterface(respond,type="messages", title="Accessible Intelligence Hub", theme="Taithrah/Minimal")
186
 
187
  with gr.Blocks(
 
 
188
  theme=gr.themes.Soft(
189
  primary_hue="purple",
190
  secondary_hue="fuchsia",
 
202
  button_primary_background_fill='*secondary_500',
203
  button_primary_background_fill_dark='*secondary_600'
204
  )
205
+
206
  ) as demo:
207
  gr.ChatInterface(
208
  fn=respond,
209
  title="Accessible Intelligence Hub",
210
  description="Ask about your education",
211
+ type="messages",
212
+ with gr.Row(scale=1):
213
+ chatbot_topic=gr.CheckboxGroup(["Academia", "Extracurriculars", "Time Management", "Financial Aid"], label="What would you like advice about?")
214
  )
215
 
216