yrobel-lima commited on
Commit
bc46d7e
·
verified ·
1 Parent(s): 5477ae4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -33,6 +33,8 @@ def initialize_session_state():
33
  )
34
  # Clear the memory
35
  st.session_state["memory"].clear()
 
 
36
  except Exception:
37
  handle_errors()
38
 
 
33
  )
34
  # Clear the memory
35
  st.session_state["memory"].clear()
36
+ except OpenAIError:
37
+ handle_errors()
38
  except Exception:
39
  handle_errors()
40