Spaces:
Sleeping
Sleeping
Commit
·
1e9b22e
1
Parent(s):
3abed59
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 |
-
OPENAI_API_KEY = ('sk-
|
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.")
|