Spaces:
Runtime error
Runtime error
Update waiting messages
Browse files
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="β³
|
| 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="β³
|
| 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 |
|