Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -732,6 +732,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue", secondary_hue="sky"),
|
|
732 |
bot_message_for_display = "Error: Agent returned an unexpected response." # Default
|
733 |
agent_text_response = None
|
734 |
agent_image_path = None
|
|
|
735 |
|
736 |
if isinstance(ai_response_dict, dict):
|
737 |
agent_text_response = ai_response_dict.get("text")
|
|
|
732 |
bot_message_for_display = "Error: Agent returned an unexpected response." # Default
|
733 |
agent_text_response = None
|
734 |
agent_image_path = None
|
735 |
+
bot_response_list_for_history = []
|
736 |
|
737 |
if isinstance(ai_response_dict, dict):
|
738 |
agent_text_response = ai_response_dict.get("text")
|