Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -183,7 +183,10 @@ 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 |
-
|
|
|
|
|
|
|
|
|
|
| 187 |
with gr.Blocks(
|
| 188 |
theme=gr.themes.Soft(
|
| 189 |
primary_hue="purple",
|
|
@@ -211,9 +214,7 @@ with gr.Blocks(
|
|
| 211 |
type="messages"
|
| 212 |
)
|
| 213 |
|
| 214 |
-
|
| 215 |
-
with gr.Row(scale=1):
|
| 216 |
-
chatbot_topic=gr.CheckboxGroup(["Academia", "Extracurriculars", "Time Management", "Financial Aid"], label="What would you like advice about?")
|
| 217 |
|
| 218 |
#launching chatbot
|
| 219 |
demo.launch()
|
|
|
|
| 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 |
+
|
| 190 |
with gr.Blocks(
|
| 191 |
theme=gr.themes.Soft(
|
| 192 |
primary_hue="purple",
|
|
|
|
| 214 |
type="messages"
|
| 215 |
)
|
| 216 |
|
| 217 |
+
|
|
|
|
|
|
|
| 218 |
|
| 219 |
#launching chatbot
|
| 220 |
demo.launch()
|