GuglielmoTor commited on
Commit
f458876
·
verified ·
1 Parent(s): 85f948b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")