Spaces:
Running
Running
Update app.py
#2
by
LeavingLasVegas
- opened
app.py
CHANGED
@@ -350,6 +350,7 @@ class Head_Agent:
|
|
350 |
elif classify_query == python_code_num:
|
351 |
response = self.query_agent.process_query_response(self, user_query, 'python')
|
352 |
image, caption = self.answering_agent.generate_image(response)
|
|
|
353 |
topic = "python"
|
354 |
st.session_state.stage = 0
|
355 |
else:
|
|
|
350 |
elif classify_query == python_code_num:
|
351 |
response = self.query_agent.process_query_response(self, user_query, 'python')
|
352 |
image, caption = self.answering_agent.generate_image(response)
|
353 |
+
image = None
|
354 |
topic = "python"
|
355 |
st.session_state.stage = 0
|
356 |
else:
|