Spaces:
Paused
Paused
Update app.py
Browse files8 unmodified lines9101112121314158 unmodified linesload_dotenv()
# API Configuration - Hugging Face Spaces stores secrets in environment variablesAPI_KEY = os.getenv('STABLECOG_API_KEY', '')API_KEY = os.getenv('StableCogKey', '')if not API_KEY: # For local testing fallback API_KEY = "StableCogKey"app.py+1-1