Spaces:
Runtime error
Runtime error
alexander-lazarin
commited on
Commit
·
98406b5
1
Parent(s):
6a10145
Fix the use of OPEN_AI_KEY
Browse files- Fashion_MVP_v0_0_2.ipynb +1 -1
- app.py +1 -1
Fashion_MVP_v0_0_2.ipynb
CHANGED
@@ -271,7 +271,7 @@
|
|
271 |
" MJ_AUTH = os.environ['MJ_AUTH']\n",
|
272 |
"\n",
|
273 |
"client = OpenAI(\n",
|
274 |
-
" api_key=
|
275 |
" base_url=\"https://api.openai.com/v1/\"\n",
|
276 |
" )\n",
|
277 |
"\n",
|
|
|
271 |
" MJ_AUTH = os.environ['MJ_AUTH']\n",
|
272 |
"\n",
|
273 |
"client = OpenAI(\n",
|
274 |
+
" api_key=OPEN_AI_KEY, # 'OPENAI_API_KEY'\n",
|
275 |
" base_url=\"https://api.openai.com/v1/\"\n",
|
276 |
" )\n",
|
277 |
"\n",
|
app.py
CHANGED
@@ -98,7 +98,7 @@ else:
|
|
98 |
MJ_AUTH = os.environ['MJ_AUTH']
|
99 |
|
100 |
client = OpenAI(
|
101 |
-
api_key=
|
102 |
base_url="https://api.openai.com/v1/"
|
103 |
)
|
104 |
|
|
|
98 |
MJ_AUTH = os.environ['MJ_AUTH']
|
99 |
|
100 |
client = OpenAI(
|
101 |
+
api_key=OPEN_AI_KEY, # 'OPENAI_API_KEY'
|
102 |
base_url="https://api.openai.com/v1/"
|
103 |
)
|
104 |
|