Commit
•
f0ace4b
1
Parent(s):
0d14efa
Update app.py
Browse files
app.py
CHANGED
@@ -241,8 +241,8 @@ with block:
|
|
241 |
</div>
|
242 |
"""
|
243 |
)
|
244 |
-
|
245 |
-
|
246 |
text = gr.Textbox(
|
247 |
label="Enter your prompt",
|
248 |
show_label=False,
|
@@ -256,13 +256,13 @@ with block:
|
|
256 |
label="Generated images", show_label=False, elem_id="gallery"
|
257 |
).style(grid=[2], height="auto")
|
258 |
|
259 |
-
|
260 |
-
|
261 |
community_icon = gr.HTML(community_icon_html)
|
262 |
loading_icon = gr.HTML(loading_icon_html)
|
263 |
share_button = gr.Button("Share to community", elem_id="share-btn")
|
264 |
-
|
265 |
-
|
266 |
negative = gr.Textbox(
|
267 |
label="Enter your negative prompt",
|
268 |
show_label=False,
|
|
|
241 |
</div>
|
242 |
"""
|
243 |
)
|
244 |
+
|
245 |
+
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
246 |
text = gr.Textbox(
|
247 |
label="Enter your prompt",
|
248 |
show_label=False,
|
|
|
256 |
label="Generated images", show_label=False, elem_id="gallery"
|
257 |
).style(grid=[2], height="auto")
|
258 |
|
259 |
+
|
260 |
+
with gr.Group(elem_id="share-btn-container"):
|
261 |
community_icon = gr.HTML(community_icon_html)
|
262 |
loading_icon = gr.HTML(loading_icon_html)
|
263 |
share_button = gr.Button("Share to community", elem_id="share-btn")
|
264 |
+
|
265 |
+
with gr.Accordion("Advanced settings", open=False):
|
266 |
negative = gr.Textbox(
|
267 |
label="Enter your negative prompt",
|
268 |
show_label=False,
|