Spaces:
Sleeping
Sleeping
changes
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import openai
|
|
8 |
# For security, it is recommended to set your API key as an environment variable
|
9 |
# or use Streamlit's secrets management. For example, in Streamlit Cloud, you can
|
10 |
# add openai.api_key in your secrets.toml.
|
11 |
-
openai.api_key = os.getenv("OPENAI_API_KEY")
|
12 |
|
13 |
# -----------------------------------------------------------------------------
|
14 |
# Helper Functions
|
|
|
8 |
# For security, it is recommended to set your API key as an environment variable
|
9 |
# or use Streamlit's secrets management. For example, in Streamlit Cloud, you can
|
10 |
# add openai.api_key in your secrets.toml.
|
11 |
+
openai.api_key = os.getenv("OPENAI_API_KEY", "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")
|
12 |
|
13 |
# -----------------------------------------------------------------------------
|
14 |
# Helper Functions
|