Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -132,7 +132,7 @@ def respond(message, history, mom_type):
|
|
132 |
|
133 |
chatbot = gr.ChatInterface(respond, type="messages")
|
134 |
|
135 |
-
|
136 |
top_tutor_results = get_top_chunks(message, tutor_chunk_embeddings, cleaned_tutor_chunks)
|
137 |
#str_chunks = "\n".join(best_chunks)
|
138 |
|
|
|
132 |
|
133 |
chatbot = gr.ChatInterface(respond, type="messages")
|
134 |
|
135 |
+
def respond_tutor(message, history, mom_type):
|
136 |
top_tutor_results = get_top_chunks(message, tutor_chunk_embeddings, cleaned_tutor_chunks)
|
137 |
#str_chunks = "\n".join(best_chunks)
|
138 |
|