ayush5710 commited on
Commit
604c041
1 Parent(s): 1c96cac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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
- except Exception as e:
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']})