vhr1007 commited on
Commit
9dcbf6a
1 Parent(s): 879e009

Remove .env file and removed load env file

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. utils/embedding_utils.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ import time
13
  import os
14
  from dotenv import load_dotenv
15
 
16
- load_dotenv()
17
 
18
  # Retrieve the API key from the environment
19
  API_KEY = os.getenv('X_API_KEY')
 
13
  import os
14
  from dotenv import load_dotenv
15
 
16
+ #load_dotenv()
17
 
18
  # Retrieve the API key from the environment
19
  API_KEY = os.getenv('X_API_KEY')
utils/embedding_utils.py CHANGED
@@ -15,7 +15,7 @@ import logging
15
 
16
 
17
  # Load environment variables from .env file
18
- load_dotenv()
19
 
20
  # Load Hugging Face token from environment variable
21
  huggingface_token = os.getenv('HUGGINGFACE_HUB_TOKEN')
 
15
 
16
 
17
  # Load environment variables from .env file
18
+ #load_dotenv()
19
 
20
  # Load Hugging Face token from environment variable
21
  huggingface_token = os.getenv('HUGGINGFACE_HUB_TOKEN')