Spaces:
Runtime error
Runtime error
import os | |
from dotenv import load_dotenv | |
# Load environment variables from .env file | |
load_dotenv() | |
class Config: | |
GEMINI_API_KEY = os.getenv("GEMINI_API_KEY") | |
ALPHA_VANTAGE_KEY = os.getenv("ALPHA_VANTAGE_KEY") | |
YAHOO_FINANCE_API_KEY = os.getenv("YAHOO_FINANCE_API_KEY") | |
FINNHUB_API_KEY = os.getenv("FINNHUB_API_KEY") | |
POLYGON_API_KEY = os.getenv("POLYGON_API_KEY") | |
SECRET_KEY = os.getenv("SECRET_KEY") | |
GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY") | |
SEARCH_ENGINE_ID = os.getenv("SEARCH_ENGINE_ID") | |
# Add any additional configuration variables here | |