Spaces:
Paused
Paused
Update app.py
Browse files6 unmodified lines789101112136 unmodified linesSUNO_API_BASE = "https://api.sunoapi.org"import osAPI_KEY = os.getenv("SunoKey")if not API_KEY:raise RuntimeError("Missing SunoKey environment variable")6 unmodified lines78910111213141516171819206 unmodified linesSUNO_API_BASE = "https://api.sunoapi.org"import os#API_KEY = os.getenv("SunoKey")from dotenv import load_dotenv# Load environment variables from the .env fileload_dotenv()# Access the environment variablessuno_api_key = os.getenv('SUNO_API_KEY')if not API_KEY:raise RuntimeError("Missing SunoKey environment variable")
app.py+8-1