Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,10 +19,10 @@ with app:
|
|
| 19 |
gr.Markdown("# **<h1 align='center'>Stable Diffusion + ControlNet WebUI<h1>**")
|
| 20 |
gr.Markdown(
|
| 21 |
"""
|
| 22 |
-
<
|
| 23 |
Follow me for more!
|
| 24 |
<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>
|
| 25 |
-
</
|
| 26 |
"""
|
| 27 |
)
|
| 28 |
with gr.Row():
|
|
@@ -41,10 +41,10 @@ with app:
|
|
| 41 |
controlnet_seg_app = stable_diffusion_controlnet_seg_app()
|
| 42 |
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
text2image_app['predict'].click(
|
| 49 |
fn = stable_diffusion_text2img,
|
| 50 |
inputs = [
|
|
|
|
| 19 |
gr.Markdown("# **<h1 align='center'>Stable Diffusion + ControlNet WebUI<h1>**")
|
| 20 |
gr.Markdown(
|
| 21 |
"""
|
| 22 |
+
<h4 style='text-align: center'>
|
| 23 |
Follow me for more!
|
| 24 |
<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>
|
| 25 |
+
</h4>
|
| 26 |
"""
|
| 27 |
)
|
| 28 |
with gr.Row():
|
|
|
|
| 41 |
controlnet_seg_app = stable_diffusion_controlnet_seg_app()
|
| 42 |
|
| 43 |
|
| 44 |
+
with gr.Tab('Output'):
|
| 45 |
+
with gr.Column():
|
| 46 |
+
output_image = gr.Image(label='Image')
|
| 47 |
+
|
| 48 |
text2image_app['predict'].click(
|
| 49 |
fn = stable_diffusion_text2img,
|
| 50 |
inputs = [
|