Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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 |
|