Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files25 unmodified lines2627282930313225 unmodified lines# ----------------------------------------------------------------------# Auth (Space secret) -- gated checkpoint download needs this at startup.# ----------------------------------------------------------------------HF_TOKEN = os.environ.get("HF_TOKEN")if HF_TOKEN:login(token=HF_TOKEN)print("Logged in to Hugging Face using HF_TOKEN secret.")25 unmodified lines2627282930313225 unmodified lines# ----------------------------------------------------------------------# Auth (Space secret) -- gated checkpoint download needs this at startup.# ----------------------------------------------------------------------HF_TOKEN = os.environ.get("hf_token")if HF_TOKEN:login(token=HF_TOKEN)print("Logged in to Hugging Face using HF_TOKEN secret.")
app.py+1-1