Sign In

hunyuanvideo-lora-training-wsl-ubuntu-system-backup - First version update file Showcase

Loading Images

Update based on the first version. If the first version has been installed, you can try to update based on it for testing only.

In the diffusion-pipe directory

Open the Linux shell

Create a virtual environment named webui

conda create -n webui python=3.10

Activate the virtual environment just created:

conda activate webui

Run the following command in the virtual environment to install Flask:

pip install flask

Run the following command in the virtual environment to install the toml module:

pip install toml

Install tomlkit

pip install tomlkit

Check if wslview is available:

which wslview

If it is not installed, you can try to update WSL or install the wslu toolkit:

sudo apt update

sudo apt install wslu

Then replace the file in diffusion-pipe. Please back up the file in advance and rename the source file.

The directory structure is

diffusion-pipe

---app.py

---train.py

templates

---index.html

After finishing everything, it is best to reopen a Linux shell and right-click on the diffusion-pipe directory

Then type python app.py

Comments