vasilisklv
commited on
Commit
•
15bc682
1
Parent(s):
f249649
Update app.py
Browse files
app.py
CHANGED
@@ -12,12 +12,12 @@ import os
|
|
12 |
#------------------------------------------------------------------------------------------------
|
13 |
|
14 |
|
15 |
-
api_key = os.environ["
|
16 |
# define LLM model for story creation, with OpenAI's format
|
17 |
client = OpenAI(
|
18 |
-
base_url="https://api-inference.huggingface.co/v1/",
|
19 |
# api_key=api_key
|
20 |
-
api_key=
|
21 |
)
|
22 |
|
23 |
# the model to utilize
|
|
|
12 |
#------------------------------------------------------------------------------------------------
|
13 |
|
14 |
|
15 |
+
api_key = os.environ["openai_key"]
|
16 |
# define LLM model for story creation, with OpenAI's format
|
17 |
client = OpenAI(
|
18 |
+
# base_url="https://api-inference.huggingface.co/v1/",
|
19 |
# api_key=api_key
|
20 |
+
api_key=api_key
|
21 |
)
|
22 |
|
23 |
# the model to utilize
|