This is a GUI implementation to interface with a DiscoArt server.
The following settings can be adjusted.
text_prompts
width_height
skip_steps
steps
clip_guidance_scale
diffusion_model
use_secondary_model
seed
clamp_max
clip_models
Additionally, the UI supports initial images and generated GIF of the progress.
Simply run the following command to use the pre-built image
docker run -p 8501:8501 -e SERVER_LOCATION="<SERVER LOCATION>" uetuluk/disco-diffusion-ui:latest
You can use the following command to use your custom model, check the Guide.md for more details.
docker run -p 8501:8501 -e SERVER_LOCATION="<SERVER LOCATION>" -e CUSTOM_MODELS='true' -v "$(pwd)"/models.yml:/app/models.private.yml:ro uetuluk/disco-diffusion-ui:latest
Or follow the commands below to build and run yourself.
docker build -t streamlit .
docker run -p 8501:8501 -e SERVER_LOCATION="<SERVER LOCATION>" streamlit
You can now view the UI at localhost:8501 or your-machine-ip:8501
pyenv virtualenv 3.10.4 disco-diffusion-ui
pyenv local disco-diffusion-ui
make install-dev
Use direnv and .envrc.example file.
mv .envrc.example .envrc
direnv allow .envrc