Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -142,17 +142,17 @@ def respond(message,history):
|
|
| 142 |
print(topic_chunks)
|
| 143 |
|
| 144 |
elif chatbot_topic=="Extracurriculars":
|
| 145 |
-
topic_chunks=get_top_chunks(message,
|
| 146 |
print(topic_chunks)
|
| 147 |
|
| 148 |
|
| 149 |
elif chatbot_topic=="Time Management":
|
| 150 |
-
topic_chunks=get_top_chunks(message,
|
| 151 |
print(topic_chunks)
|
| 152 |
|
| 153 |
|
| 154 |
elif chatbot_topic=="Financial Aid":
|
| 155 |
-
topic_chunks=get_top_chunks(message,
|
| 156 |
print(topic_chunks)
|
| 157 |
|
| 158 |
information="\n".join(topic_chunks)
|
|
|
|
| 142 |
print(topic_chunks)
|
| 143 |
|
| 144 |
elif chatbot_topic=="Extracurriculars":
|
| 145 |
+
topic_chunks=get_top_chunks(message, chunk_embeddings2, cleaned_chunks2)
|
| 146 |
print(topic_chunks)
|
| 147 |
|
| 148 |
|
| 149 |
elif chatbot_topic=="Time Management":
|
| 150 |
+
topic_chunks=get_top_chunks(message, chunk_embeddings3, cleaned_chunks3)
|
| 151 |
print(topic_chunks)
|
| 152 |
|
| 153 |
|
| 154 |
elif chatbot_topic=="Financial Aid":
|
| 155 |
+
topic_chunks=get_top_chunks(message, chunk_embeddings4, cleaned_chunks4)
|
| 156 |
print(topic_chunks)
|
| 157 |
|
| 158 |
information="\n".join(topic_chunks)
|