GRADIO_ALLOWED_PATHS
This allows every Gradio app installed under Pinokio to serve files
outside of each app's root folder, which is useful for many cases.
Do not touch this unless you want to add additional paths
PINOKIO_SHARE_VAR
When you set this local variable from any script, it will trigger Pinokio
share actions (local sharing, cloudflare, ...)
You can customize whether to avoid this using PINOKIO_SHARE_CLOUDFLARE
and PINOKIO_SHARE_LOCAL
PINOKIO_SHARE_CLOUDFLARE
Set this variable to share the app publicly via cloudflare tunnel.
PINOKIO_SCRIPT_DEFAULT
If this variable is false, 'default': true menu items in pinokio.js
will NOT automatically run
PINOKIO_DRIVE
The virtual drive path.
Change it if you want to use a different path.
You can even enter an absolute path to use a folder outside of pinokio
or an entirely different disk drive
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.