fastsdcpu
fastsdcpu copied to clipboard
added command line options to start-webui.sh for changing root url to subfolder
i added command line options to start-webui.sh
for apache/nginx proxy pass to subfolder.
To start Web UI
./start-webui.sh
webui options
- to use share option :
./start-webui.sh --share - to change root url : example.
./start-webui.sh --root_url "/fastsdcpu" - show help :
./start-webui.sh --help
for example:
[develop fastsdcpu]$ ./start-webui.sh --help
Starting FastSD CPU please wait...
Found python command
Python version : 3.9.18
usage : start-webui.sh [--share] [--root_path="/(path)"]
[develop fastsdcpu]$ ./start-webui.sh --root_path "/fastsdcpu"
Starting FastSD CPU please wait...
Found python command
Python version : 3.9.18
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
0it [00:00, ?it/s]
0it [00:00, ?it/s]
Running on Linux platform
OS: Linux-5.14.0-427.24.1.el9_4.x86_64-x86_64-with-glibc2.34
Processor: x86_64
Using device : cpu
Found 8 LCM models in config/lcm-models.txt
Found 7 stable diffusion models in config/stable-diffusion-models.txt
Found 4 LCM-LoRA models in config/lcm-lora-models.txt
Found 9 OpenVINO LCM models in config/openvino-lcm-models.txt
/usr/local/src/git/fastsdcpu/env/lib64/python3.9/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_5m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_5m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
return register_model(fn_wrapper)
/usr/local/src/git/fastsdcpu/env/lib64/python3.9/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_11m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_11m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
return register_model(fn_wrapper)
/usr/local/src/git/fastsdcpu/env/lib64/python3.9/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
return register_model(fn_wrapper)
/usr/local/src/git/fastsdcpu/env/lib64/python3.9/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_384 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_384. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
return register_model(fn_wrapper)
/usr/local/src/git/fastsdcpu/env/lib64/python3.9/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_512 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_512. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
return register_model(fn_wrapper)
Starting web UI mode
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
^CKeyboard interruption in main thread... closing server.
[develop fastsdcpu]$ ./start-webui.sh --share --root_path "/fastsdcpu"
Starting FastSD CPU please wait...
Found python command
Python version : 3.9.18
0it [00:00, ?it/s]
Running on Linux platform
OS: Linux-5.14.0-427.24.1.el9_4.x86_64-x86_64-with-glibc2.34
Processor: x86_64
Using device : cpu
Found 8 LCM models in config/lcm-models.txt
Found 7 stable diffusion models in config/stable-diffusion-models.txt
Found 4 LCM-LoRA models in config/lcm-lora-models.txt
Found 9 OpenVINO LCM models in config/openvino-lcm-models.txt
/usr/local/src/git/fastsdcpu/env/lib64/python3.9/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_5m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_5m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
return register_model(fn_wrapper)
/usr/local/src/git/fastsdcpu/env/lib64/python3.9/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_11m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_11m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
return register_model(fn_wrapper)
/usr/local/src/git/fastsdcpu/env/lib64/python3.9/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
return register_model(fn_wrapper)
/usr/local/src/git/fastsdcpu/env/lib64/python3.9/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_384 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_384. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
return register_model(fn_wrapper)
/usr/local/src/git/fastsdcpu/env/lib64/python3.9/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_512 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_512. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
return register_model(fn_wrapper)
Starting web UI mode
Running on local URL: http://127.0.0.1:7860
Running on public URL: https://9470bd439676fa9247.gradio.live
This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)