Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def respond(message, history, system_message, max_tokens, temperature, top_p):
|
|
105 |
prognosis_summary = unique_clusters[unique_clusters['cluster'] == highlight_cluster]['prognosis'].tolist()
|
106 |
response_text += f"\nThe query belongs to cluster {highlight_cluster} which includes the following prognosis: {', '.join(prognosis_summary)}."
|
107 |
|
108 |
-
return response_text,
|
109 |
|
110 |
# Set up the Gradio Chat Interface
|
111 |
demo = gr.ChatInterface(
|
|
|
105 |
prognosis_summary = unique_clusters[unique_clusters['cluster'] == highlight_cluster]['prognosis'].tolist()
|
106 |
response_text += f"\nThe query belongs to cluster {highlight_cluster} which includes the following prognosis: {', '.join(prognosis_summary)}."
|
107 |
|
108 |
+
return response_text, buf
|
109 |
|
110 |
# Set up the Gradio Chat Interface
|
111 |
demo = gr.ChatInterface(
|