Rely on `os.getenv("SPACE_ID")` instead of HF_ID

#26
by Wauplin HF staff - opened

This is a variable already injected in your Space environment. No need to add a HF_ID yourself. See docs here: https://huggingface.co/docs/hub/spaces-overview#helper-environment-variables

Once this PR is merged, you can delete the HF_ID from the Space settings.

Wauplin changed pull request title from Rely on `os.getenv("SPACE_ID")` to Rely on `os.getenv("SPACE_ID")` instead of HF_ID
TTS AGI org

Perfect - thanks!

mrfakename changed pull request status to merged

Sign up or log in to comment