Commit
·
2104e5b
1
Parent(s):
fce9e32
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,7 +86,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 86 |
binary_matrixes = gr.State([])
|
| 87 |
gr.Markdown('''## Control your Stable Diffusion generation with Sketches
|
| 88 |
This Space demonstrates MultiDiffusion region-based generation using Stable Diffusion model. To get started, draw your masks and type your prompts. More details in the [project page](https://multidiffusion.github.io).
|
| 89 |
-

|
| 90 |
''')
|
| 91 |
with gr.Row():
|
| 92 |
with gr.Box(elem_id="main-image"):
|
|
@@ -109,7 +108,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 109 |
final_run_btn = gr.Button("Generate!")
|
| 110 |
|
| 111 |
out_image = gr.Image(label="Result")
|
| 112 |
-
|
|
|
|
|
|
|
| 113 |
css_height = gr.HTML("<style>#main-image{width: 512px} .fixed-height{height: 512px !important}</style>")
|
| 114 |
|
| 115 |
aspect.change(update_css, inputs=aspect, outputs=css_height)
|
|
|
|
| 86 |
binary_matrixes = gr.State([])
|
| 87 |
gr.Markdown('''## Control your Stable Diffusion generation with Sketches
|
| 88 |
This Space demonstrates MultiDiffusion region-based generation using Stable Diffusion model. To get started, draw your masks and type your prompts. More details in the [project page](https://multidiffusion.github.io).
|
|
|
|
| 89 |
''')
|
| 90 |
with gr.Row():
|
| 91 |
with gr.Box(elem_id="main-image"):
|
|
|
|
| 108 |
final_run_btn = gr.Button("Generate!")
|
| 109 |
|
| 110 |
out_image = gr.Image(label="Result")
|
| 111 |
+
gr.Markdown('''
|
| 112 |
+

|
| 113 |
+
''')
|
| 114 |
css_height = gr.HTML("<style>#main-image{width: 512px} .fixed-height{height: 512px !important}</style>")
|
| 115 |
|
| 116 |
aspect.change(update_css, inputs=aspect, outputs=css_height)
|