long1104 LeavingLasVegas commited on
Commit
1d48263
1 Parent(s): 24bf956

Update app.py (#2)

Browse files

- Update app.py (a8e839c595dc107ae3c2d898ec69422e5465ae3f)


Co-authored-by: Russel Brunton <[email protected]>

Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -352,6 +352,7 @@ class Head_Agent:
352
  elif classify_query == python_code_num:
353
  response = self.query_agent.process_query_response(self, user_query, 'python')
354
  image, caption = self.answering_agent.generate_image(response)
 
355
  topic = "python"
356
  st.session_state.stage = 0
357
  else:
 
352
  elif classify_query == python_code_num:
353
  response = self.query_agent.process_query_response(self, user_query, 'python')
354
  image, caption = self.answering_agent.generate_image(response)
355
+ image = None
356
  topic = "python"
357
  st.session_state.stage = 0
358
  else: