steve7909 commited on
Commit
d9771ef
1 Parent(s): 2efcc87

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,11 +17,11 @@ import spacy
17
  #load_dotenv()
18
 
19
  # Access the env
20
- HF_TOKEN = os.environ('HUGGING_FACE_TOKEN')
21
 
22
  # openai setup
23
  client = OpenAI(
24
- api_key=os.environ('OPENAI_API_KEY')
25
  )
26
 
27
  # hugging face setup
 
17
  #load_dotenv()
18
 
19
  # Access the env
20
+ HF_TOKEN = os.getenv('HUGGING_FACE_TOKEN')
21
 
22
  # openai setup
23
  client = OpenAI(
24
+ api_key=os.getenv('OPENAI_API_KEY')
25
  )
26
 
27
  # hugging face setup