Spaces:
Sleeping
Sleeping
Commit
·
f6ac9e2
1
Parent(s):
fadb49d
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ OPENAI_API_KEY = ('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')
|
|
10 |
# Log the error for debugging purposes
|
11 |
#st.error("An error occurred while communicating with the OpenAI API.")
|
12 |
# Optionally, log more detailed information for debugging
|
13 |
-
print("Error details:", e)
|
14 |
# You might also want to implement additional logic here, like retrying the request,
|
15 |
# sending a notification to an administrator, or providing a default response.
|
16 |
|
|
|
10 |
# Log the error for debugging purposes
|
11 |
#st.error("An error occurred while communicating with the OpenAI API.")
|
12 |
# Optionally, log more detailed information for debugging
|
13 |
+
#print("Error details:", e)
|
14 |
# You might also want to implement additional logic here, like retrying the request,
|
15 |
# sending a notification to an administrator, or providing a default response.
|
16 |
|