Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -67,9 +67,7 @@ if prompt := st.chat_input("Ask 🦔 anything..."):
|
|
67 |
|
68 |
if response['code']:
|
69 |
if code_interpreter:
|
70 |
-
try:
|
71 |
exec(response['code'])
|
72 |
-
|
73 |
-
st.write(f"ERROR {e}...")
|
74 |
|
75 |
st.session_state.messages.append({"role": "assistant", "content": response['content']})
|
|
|
67 |
|
68 |
if response['code']:
|
69 |
if code_interpreter:
|
|
|
70 |
exec(response['code'])
|
71 |
+
|
|
|
72 |
|
73 |
st.session_state.messages.append({"role": "assistant", "content": response['content']})
|