Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def respond(message, history, mom_type):
|
|
130 |
)
|
131 |
return response['choices'][0]['message']['content'].strip()
|
132 |
|
133 |
-
chatbot = gr.ChatInterface(
|
134 |
|
135 |
# def respond_tutor(message, history, mom_type):
|
136 |
# top_tutor_results = get_top_chunks(message, tutor_chunk_embeddings, cleaned_tutor_chunks)
|
|
|
130 |
)
|
131 |
return response['choices'][0]['message']['content'].strip()
|
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)
|