-
Please refer to the Installation section to complete the model environment deployment.
-
Make sure the
gradio
package is installed:pip install gradio
-
Download the pretrained checkpoints from Models, and place it to some directory(
ckpt
for default). To better identify the checkpoint, please change the filename after downloading. -
launch the
webui.py
to usepython demo/webui.py --ckpt_dir YOUR_CHECKPOINT_DIR
Noted that the
YOUR_CHECKPOINT_DIR
is the checkpoint directory(ckpt
for default).
You may need to modify num_ray
in config file to adapt the checkpoint.