Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ openai.api_key = os.environ.get("openai_api_key")
|
|
10 |
os.environ["OPENAI_API_KEY"] = openai.api_key
|
11 |
|
12 |
#echo openai_api_key="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" > .env
|
13 |
-
export openai_api_key="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"
|
14 |
|
15 |
# Write the environment variable to a file named .env
|
16 |
echo "openai_api_key=$openai_api_key" > .env
|
|
|
10 |
os.environ["OPENAI_API_KEY"] = openai.api_key
|
11 |
|
12 |
#echo openai_api_key="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" > .env
|
13 |
+
export openai_api_key="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"
|
14 |
|
15 |
# Write the environment variable to a file named .env
|
16 |
echo "openai_api_key=$openai_api_key" > .env
|