vasilisklv commited on
Commit
15bc682
1 Parent(s): f249649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,12 +12,12 @@ import os
12
  #------------------------------------------------------------------------------------------------
13
 
14
 
15
- api_key = os.environ["genai_stories"]
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="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"
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