PINOKIO_SCRIPT_AUTOLAUNCH
the relative file path for auto launching any script
the specified script will automatically run when pinokio first launches
PINOKIO_SHARE_CLOUDFLARE
Set this variable to share the app publicly via cloudflare tunnel.
PINOKIO_SHARE_PASSCODE
By default, your publicly shared app will be 100% open to anyone
with the link via Cloudflare.
You can add authorization by protecting it with a passcode.
Set this value, and any access to the app will require a pass code input
PINOKIO_SCRIPT_DEFAULT
If this variable is false, 'default': true menu items in pinokio.js
will NOT automatically run
GRADIO_TEMP_DIR
All the files uploaded through gradio goes here.
Delete this line to store the files under PINOKIO_HOME/cache/GRADIO_TEMPDIR
or change the path if you want to use a different path
HF_HOME
Huggingface cache
All the model files automatically downloaded through libraries like
diffusers, transformers, etc. will be stored under this path
You can save disk space by deleting this line, which will store all
huggingface files under PINOKIO_HOME/cache/HF_HOME without redundancy.
TORCH_HOME
Torch hub cache
All the files automatically downloaded by pytorch will be stored here
You can save disk space by deleting this line, which will store all
torch hub files under PINOKIO_HOME/cache/TORCH_HOME without redundancy.
PINOKIO_SHARE_LOCAL
Set this variable to true to share the app on the local network.
PINOKIO_SHARE_LOCAL_PORT
Set this variable to use fixed port for the local network sharing feature
If not specified, a random port will be assigned to the local proxy used
for local sharing.