Spaces:
Runtime error
Runtime error
Upload layout.py
Browse files- ui/layout.py +4 -1
ui/layout.py
CHANGED
|
@@ -11,9 +11,12 @@ def build_ui(event_handler_function):
|
|
| 11 |
|
| 12 |
with gr.Blocks() as demo:
|
| 13 |
gr.Markdown("# ImageGen")
|
|
|
|
|
|
|
|
|
|
| 14 |
ui_components.update(create_imagegen_ui())
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
event_handler_function(ui_components, demo)
|
| 19 |
|
|
|
|
| 11 |
|
| 12 |
with gr.Blocks() as demo:
|
| 13 |
gr.Markdown("# ImageGen")
|
| 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. Support [High-Level MCP](https://rioshiina-imagegen.hf.space/gradio_api/mcp/)."
|
| 16 |
+
)
|
| 17 |
ui_components.update(create_imagegen_ui())
|
| 18 |
|
| 19 |
+
gr.Markdown("<div style='text-align: left; margin-top: 20px;'>Made by RioShiina with ❤️<br><a href='https://github.com/RioShiina47' target='_blank'>GitHub</a> | <a href='https://huggingface.co/RioShiina' target='_blank'>Hugging Face</a> | <a href='https://civitai.com/user/RioShiina' target='_blank'>Civitai</a></div>")
|
| 20 |
|
| 21 |
event_handler_function(ui_components, demo)
|
| 22 |
|