Download utils.py from Zasha1/SalesAI: direct link, hf CLI and curl.
- Browser
- Download file 527 Bytes
-
https://huggingface.co/spaces/Zasha1/SalesAI/resolve/main/utils.py
- Command line
-
hf download hf://spaces/Zasha1/SalesAI/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/Zasha1/SalesAI/resolve/main/utils.py
527 Bytes
| import os | |
| from dotenv import load_dotenv | |
| # Function to load environment variables from .env file | |
| def load_env_variables(): | |
| # Load environment variables from .env file | |
| load_dotenv() | |
| # Return the loaded environment variables as a dictionary | |
| return { | |
| 'assemblyai_api_key': os.getenv('ASSEMBLYAI_API_KEY'), | |
| 'huggingface_api_key': os.getenv('HUGGINGFACE_API_KEY'), | |
| 'google_creds': os.getenv('GOOGLE_CREDS_PATH'), | |
| 'google_sheet_id': os.getenv('GOOGLE_SHEET_ID') | |
| } | |