Commit
·
442366c
1
Parent(s):
cb4b5a6
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,6 @@ css = """
|
|
| 82 |
}
|
| 83 |
#gallery>div>.h-full {
|
| 84 |
min-height: 20rem;
|
| 85 |
-
}
|
| 86 |
|
| 87 |
}
|
| 88 |
.details:hover {
|
|
@@ -182,8 +181,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 182 |
f"""<h1><center>Open Diffusion V1 Demo</center></h1>
|
| 183 |
"""
|
| 184 |
)
|
| 185 |
-
with gr.Group(
|
| 186 |
-
gallery_output = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery",
|
| 187 |
with gr.Box():
|
| 188 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
| 189 |
with gr.Column():
|
|
|
|
| 82 |
}
|
| 83 |
#gallery>div>.h-full {
|
| 84 |
min-height: 20rem;
|
|
|
|
| 85 |
|
| 86 |
}
|
| 87 |
.details:hover {
|
|
|
|
| 181 |
f"""<h1><center>Open Diffusion V1 Demo</center></h1>
|
| 182 |
"""
|
| 183 |
)
|
| 184 |
+
with gr.Group():
|
| 185 |
+
gallery_output = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[4], height="auto")
|
| 186 |
with gr.Box():
|
| 187 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
| 188 |
with gr.Column():
|