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