Upload folder using huggingface_hub
Browse files- ui/layout.py +7 -1
- ui/shared/ui_components.py +1 -3
ui/layout.py
CHANGED
|
@@ -14,7 +14,13 @@ def build_ui(event_handler_function):
|
|
| 14 |
gr.Markdown(
|
| 15 |
"This demo is a streamlined version of the [Comfy web UI](https://github.com/RioShiina47/comfy-webui)'s [ImageGen](https://huggingface.co/spaces/RioShiina/ImageGen) functionality. "
|
| 16 |
"Other spaces: [ImageGen1](https://huggingface.co/spaces/RioShiina/ImageGen1), "
|
| 17 |
-
"[ImageGen2](https://huggingface.co/spaces/RioShiina/ImageGen2)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
)
|
| 19 |
with gr.Tabs(elem_id="tabs_container") as tabs:
|
| 20 |
with gr.TabItem("Txt2Img", id=0):
|
|
|
|
| 14 |
gr.Markdown(
|
| 15 |
"This demo is a streamlined version of the [Comfy web UI](https://github.com/RioShiina47/comfy-webui)'s [ImageGen](https://huggingface.co/spaces/RioShiina/ImageGen) functionality. "
|
| 16 |
"Other spaces: [ImageGen1](https://huggingface.co/spaces/RioShiina/ImageGen1), "
|
| 17 |
+
"[ImageGen2](https://huggingface.co/spaces/RioShiina/ImageGen2), "
|
| 18 |
+
"[ImageGen3](https://huggingface.co/spaces/RioShiina/ImageGen3), "
|
| 19 |
+
"[ImageGen4](https://huggingface.co/spaces/RioShiina/ImageGen4), "
|
| 20 |
+
"[ImageGen5](https://huggingface.co/spaces/RioShiina/ImageGen5), "
|
| 21 |
+
"[ImageGen6](https://huggingface.co/spaces/RioShiina/ImageGen6), "
|
| 22 |
+
"[ImageGen7](https://huggingface.co/spaces/RioShiina/ImageGen7), "
|
| 23 |
+
"[ImageGen8](https://huggingface.co/spaces/RioShiina/ImageGen8)"
|
| 24 |
)
|
| 25 |
with gr.Tabs(elem_id="tabs_container") as tabs:
|
| 26 |
with gr.TabItem("Txt2Img", id=0):
|
ui/shared/ui_components.py
CHANGED
|
@@ -152,7 +152,6 @@ def create_controlnet_ui(prefix: str, max_units=MAX_CONTROLNETS):
|
|
| 152 |
|
| 153 |
with gr.Accordion("ControlNet Settings", open=False, visible=('controlnet' in default_enabled_chains)) as accordion:
|
| 154 |
components[key('controlnet_accordion')] = accordion
|
| 155 |
-
gr.Markdown("💡 **Tip:** You can use [ControlNet-Preprocessors](https://huggingface.co/spaces/RioShiina/ControlNet-Preprocessors) to generate preprocessed images.")
|
| 156 |
|
| 157 |
cn_rows, images, series, types, strengths, filepaths = [], [], [], [], [], []
|
| 158 |
components.update({
|
|
@@ -195,7 +194,7 @@ def create_anima_controlnet_lllite_ui(prefix: str, max_units=MAX_CONTROLNETS):
|
|
| 195 |
|
| 196 |
with gr.Accordion("Anima ControlNet Lllite Settings", open=False, visible=('anima_controlnet_lllite' in default_enabled_chains)) as accordion:
|
| 197 |
components[key('anima_controlnet_lllite_accordion')] = accordion
|
| 198 |
-
gr.Markdown("💡 **Tip:** Processed using the [kohya-ss/ComfyUI-Anima-LLLite](https://github.com/kohya-ss/ComfyUI-Anima-LLLite) node.
|
| 199 |
|
| 200 |
cn_rows, images, series, types, strengths, filepaths, start_percents, end_percents = [], [], [], [], [], [], [], []
|
| 201 |
components.update({
|
|
@@ -243,7 +242,6 @@ def create_diffsynth_controlnet_ui(prefix: str, max_units=MAX_CONTROLNETS):
|
|
| 243 |
|
| 244 |
with gr.Accordion("DiffSynth ControlNet Settings", open=False, visible=('controlnet_model_patch' in default_enabled_chains)) as accordion:
|
| 245 |
components[key('diffsynth_controlnet_accordion')] = accordion
|
| 246 |
-
gr.Markdown("💡 **Tip:** You can use [ControlNet-Preprocessors](https://huggingface.co/spaces/RioShiina/ControlNet-Preprocessors) to generate preprocessed images.")
|
| 247 |
|
| 248 |
cn_rows, images, series, types, strengths, filepaths = [], [], [], [], [], []
|
| 249 |
components.update({
|
|
|
|
| 152 |
|
| 153 |
with gr.Accordion("ControlNet Settings", open=False, visible=('controlnet' in default_enabled_chains)) as accordion:
|
| 154 |
components[key('controlnet_accordion')] = accordion
|
|
|
|
| 155 |
|
| 156 |
cn_rows, images, series, types, strengths, filepaths = [], [], [], [], [], []
|
| 157 |
components.update({
|
|
|
|
| 194 |
|
| 195 |
with gr.Accordion("Anima ControlNet Lllite Settings", open=False, visible=('anima_controlnet_lllite' in default_enabled_chains)) as accordion:
|
| 196 |
components[key('anima_controlnet_lllite_accordion')] = accordion
|
| 197 |
+
gr.Markdown("💡 **Tip:** Processed using the [kohya-ss/ComfyUI-Anima-LLLite](https://github.com/kohya-ss/ComfyUI-Anima-LLLite) node.")
|
| 198 |
|
| 199 |
cn_rows, images, series, types, strengths, filepaths, start_percents, end_percents = [], [], [], [], [], [], [], []
|
| 200 |
components.update({
|
|
|
|
| 242 |
|
| 243 |
with gr.Accordion("DiffSynth ControlNet Settings", open=False, visible=('controlnet_model_patch' in default_enabled_chains)) as accordion:
|
| 244 |
components[key('diffsynth_controlnet_accordion')] = accordion
|
|
|
|
| 245 |
|
| 246 |
cn_rows, images, series, types, strengths, filepaths = [], [], [], [], [], []
|
| 247 |
components.update({
|