Spaces:
Running
on
Zero
Running
on
Zero
How to 'Run locally' using docker
#63
by
yoon-aspaceit
- opened
I am trying to run IC Light V2 locally. The manual under "Run locally" is as follows:
docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all \
-e EXEC="YOUR_VALUE_HERE" \
-e ZIP_PASSWORD="YOUR_VALUE_HERE" \
-e HF_TOKEN="YOUR_VALUE_HERE" \
-e REPO="YOUR_VALUE_HERE" \
registry.hf.space/lllyasviel-iclight-v2:latest python app.py
I want to know what the environment variables 'EXEC', 'ZIP_PASSWORD', and 'REPO' mean.
'HF_TOKEN' seems to be the HuggingFace Access Token, and I already have one generated.
I tried putting any value (e.g., Hello) in the EXEC environment variable, but I got a NameError saying 'Hello' is not defined.
Are there predefined EXEC values?
And what is ZIP_PASSWORD? I don't know which password it's referring to.
I would appreciate it if someone could provide information and easy-to-understand examples for the EXEC, ZIP_PASSWORD, and REPO values.