m-ric HF staff commited on
Commit
6794b69
1 Parent(s): 6620ef1

Update waiting messages

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -79,7 +79,7 @@ def interact_with_agent(file_input, additional_notes):
79
 
80
  messages = [gr.ChatMessage(role="user", content=prompt)]
81
  yield messages + [
82
- gr.ChatMessage(role="assistant", content="⏳ _Task not finished yet!_")
83
  ]
84
 
85
  plot_image_paths = {}
@@ -94,7 +94,7 @@ def interact_with_agent(file_input, additional_notes):
94
  plot_image_paths[image_path] = True
95
  messages.append(image_message)
96
  yield messages + [
97
- gr.ChatMessage(role="assistant", content="⏳ _Task not finished yet!_")
98
  ]
99
  yield messages
100
 
 
79
 
80
  messages = [gr.ChatMessage(role="user", content=prompt)]
81
  yield messages + [
82
+ gr.ChatMessage(role="assistant", content="⏳ _Starting task..._")
83
  ]
84
 
85
  plot_image_paths = {}
 
94
  plot_image_paths[image_path] = True
95
  messages.append(image_message)
96
  yield messages + [
97
+ gr.ChatMessage(role="assistant", content="⏳ _Still processing..._")
98
  ]
99
  yield messages
100