AAA1988 commited on
Commit
619550d
·
verified ·
1 Parent(s): f203a86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, {"name": buf, "alt_text": "t-SNE Plot showing the query cluster"}
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(