ComfyUI-Demo / app.py
kadirnar's picture
Upload 16 files
a8ce530
raw
history blame
3.09 kB
from diffusion_webui.controlnet.controlnet_canny import stable_diffusion_controlnet_canny_app, stable_diffusion_controlnet_canny
from diffusion_webui.controlnet.controlnet_depth import stable_diffusion_controlnet_depth_app, stable_diffusion_controlnet_depth
from diffusion_webui.controlnet.controlnet_hed import stable_diffusion_controlnet_hed_app, stable_diffusion_controlnet_hed
from diffusion_webui.controlnet.controlnet_mlsd import stable_diffusion_controlnet_mlsd_app, stable_diffusion_controlnet_mlsd
from diffusion_webui.controlnet.controlnet_pose import stable_diffusion_controlnet_pose_app, stable_diffusion_controlnet_pose
from diffusion_webui.controlnet.controlnet_scribble import stable_diffusion_controlnet_scribble_app, stable_diffusion_controlnet_scribble
from diffusion_webui.controlnet.controlnet_seg import stable_diffusion_controlnet_seg_app, stable_diffusion_controlnet_seg
from diffusion_webui.stable_diffusion.text2img_app import stable_diffusion_text2img_app, stable_diffusion_text2img
from diffusion_webui.stable_diffusion.img2img_app import stable_diffusion_img2img_app, stable_diffusion_img2img
from diffusion_webui.stable_diffusion.inpaint_app import stable_diffusion_inpaint_app, stable_diffusion_inpaint
from diffusion_webui.stable_diffusion.keras_txt2img import keras_stable_diffusion, keras_stable_diffusion_app
import gradio as gr
app = gr.Blocks()
with app:
gr.HTML(
"""
<h1 style='text-align: center'>
Stable Diffusion + ControlNet + Keras Diffusion WebUI
</h1>
"""
)
gr.Markdown(
"""
<h4 style='text-align: center'>
Follow me for more!
<a href='https://twitter.com/kadirnar_ai' target='_blank'>Twitter</a> | <a href='https://github.com/kadirnar' target='_blank'>Github</a> | <a href='https://www.linkedin.com/in/kadir-nar/' target='_blank'>Linkedin</a>
</h4>
"""
)
with gr.Row():
with gr.Column():
with gr.Tab('Text2Img'):
stable_diffusion_text2img_app()
with gr.Tab('Img2Img'):
stable_diffusion_img2img_app()
with gr.Tab('Inpaint'):
stable_diffusion_inpaint_app()
with gr.Tab('ControlNet'):
with gr.Tab('Canny'):
stable_diffusion_controlnet_canny_app()
with gr.Tab('Depth'):
stable_diffusion_controlnet_depth_app()
with gr.Tab('HED'):
stable_diffusion_controlnet_hed_app()
with gr.Tab('MLSD'):
stable_diffusion_controlnet_mlsd_app()
with gr.Tab('Pose'):
stable_diffusion_controlnet_pose_app()
with gr.Tab('Seg'):
stable_diffusion_controlnet_seg_app()
with gr.Tab('Scribble'):
stable_diffusion_controlnet_scribble_app()
with gr.Tab('Keras Diffusion'):
keras_diffusion_app = keras_stable_diffusion_app()
app.launch(debug=True)