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