mmargg commited on
Commit
65313c4
·
verified ·
1 Parent(s): da332f2
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -183,7 +183,6 @@ print(top_results)
183
  #Defining chatbot giving user a UI to interact, see their conversation history, and see new messages using built in gr feature
184
  #ChatInterface requires at least one parameter(a function)
185
  chatbot = gr.ChatInterface(respond,type="messages", title="Accessible Intelligence Hub", theme="Taithrah/Minimal")
186
- with gr.Blocks() as demo:
187
  with gr.Row(scale=1):
188
  chatbot_topic=gr.CheckboxGroup(["Academia", "Extracurriculars", "Time Management", "Financial Aid"], label="What would you like advice about?")
189
 
@@ -206,7 +205,8 @@ with gr.Blocks(
206
  button_primary_background_fill_dark='*secondary_600'
207
  )
208
  ) as demo:
209
-
 
210
  gr.ChatInterface(
211
  fn=respond,
212
  title="Accessible Intelligence Hub",
 
183
  #Defining chatbot giving user a UI to interact, see their conversation history, and see new messages using built in gr feature
184
  #ChatInterface requires at least one parameter(a function)
185
  chatbot = gr.ChatInterface(respond,type="messages", title="Accessible Intelligence Hub", theme="Taithrah/Minimal")
 
186
  with gr.Row(scale=1):
187
  chatbot_topic=gr.CheckboxGroup(["Academia", "Extracurriculars", "Time Management", "Financial Aid"], label="What would you like advice about?")
188
 
 
205
  button_primary_background_fill_dark='*secondary_600'
206
  )
207
  ) as demo:
208
+ with gr.Row(scale=1):
209
+ chatbot_topic=gr.CheckboxGroup(["Academia", "Extracurriculars", "Time Management", "Financial Aid"], label="What would you like advice about?")
210
  gr.ChatInterface(
211
  fn=respond,
212
  title="Accessible Intelligence Hub",