Spaces:
Sleeping
Sleeping
Commit
·
7949790
1
Parent(s):
f6ac9e2
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
|
6 |
# Securely fetch the OpenAI API key
|
7 |
#try:
|
8 |
-
|
9 |
#except openai.APIError as e:
|
10 |
# Log the error for debugging purposes
|
11 |
#st.error("An error occurred while communicating with the OpenAI API.")
|
|
|
5 |
|
6 |
# Securely fetch the OpenAI API key
|
7 |
#try:
|
8 |
+
openai.api_key = ('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')
|
9 |
#except openai.APIError as e:
|
10 |
# Log the error for debugging purposes
|
11 |
#st.error("An error occurred while communicating with the OpenAI API.")
|