Spaces:
Sleeping
Sleeping
Update app.py
Browse files8 unmodified lines910111213148 unmodified linesclient = Groq(api_key=api_key) if api_key else Nonedef get_recommendation(quantity, food_type, expiry_hours):if not client:return "❌ GROQ_API_KEY not found. Please set your API key in environment variables or Secrets."8 unmodified lines91011121314158 unmodified linesclient = Groq(api_key=api_key) if api_key else Nonedef get_recommendation(quantity, food_type, expiry_hours):print("DEBUG: API key loaded?", os.environ.get("GROQ_API_KEY") is not None)if not client:return "❌ GROQ_API_KEY not found. Please set your API key in environment variables or Secrets."
app.py+1