Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -166,16 +166,17 @@ with gr.Blocks(
|
|
| 166 |
button_primary_background_fill='*secondary_500',
|
| 167 |
button_primary_background_fill_dark='*secondary_600'
|
| 168 |
)
|
| 169 |
-
) as demo:
|
| 170 |
|
| 171 |
-
|
| 172 |
-
|
| 173 |
title="Accessible Intelligence Hub",
|
| 174 |
description="Ask about your education",
|
| 175 |
type="messages"
|
| 176 |
)
|
| 177 |
|
| 178 |
|
|
|
|
| 179 |
#launching chatbot
|
| 180 |
demo.launch()
|
| 181 |
|
|
|
|
| 166 |
button_primary_background_fill='*secondary_500',
|
| 167 |
button_primary_background_fill_dark='*secondary_600'
|
| 168 |
)
|
| 169 |
+
) as demo:
|
| 170 |
|
| 171 |
+
gr.ChatInterface(
|
| 172 |
+
fn=respond,
|
| 173 |
title="Accessible Intelligence Hub",
|
| 174 |
description="Ask about your education",
|
| 175 |
type="messages"
|
| 176 |
)
|
| 177 |
|
| 178 |
|
| 179 |
+
|
| 180 |
#launching chatbot
|
| 181 |
demo.launch()
|
| 182 |
|