Spaces:
Runtime error
Runtime error
Commit
·
d4df1db
1
Parent(s):
937a6cb
Update app.py
Browse files
app.py
CHANGED
|
@@ -252,31 +252,30 @@ with block:
|
|
| 252 |
"""
|
| 253 |
)
|
| 254 |
with gr.Group():
|
| 255 |
-
with gr.
|
| 256 |
-
with gr.
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
)
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
negative
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
)
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
)
|
| 280 |
btn = gr.Button("Generate image").style(
|
| 281 |
margin=False,
|
| 282 |
rounded=(False, True, True, False),
|
|
|
|
| 252 |
"""
|
| 253 |
)
|
| 254 |
with gr.Group():
|
| 255 |
+
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
| 256 |
+
with gr.Column():
|
| 257 |
+
text = gr.Textbox(
|
| 258 |
+
label="Enter your prompt",
|
| 259 |
+
show_label=False,
|
| 260 |
+
max_lines=1,
|
| 261 |
+
placeholder="Enter your prompt",
|
| 262 |
+
elem_id="prompt-text-input",
|
| 263 |
+
).style(
|
| 264 |
+
border=(True, False, True, True),
|
| 265 |
+
rounded=(True, False, False, True),
|
| 266 |
+
container=False,
|
| 267 |
+
)
|
| 268 |
+
negative = gr.Textbox(
|
| 269 |
+
label="Enter your negative prompt",
|
| 270 |
+
show_label=False,
|
| 271 |
+
max_lines=1,
|
| 272 |
+
placeholder="Enter a negative prompt",
|
| 273 |
+
elem_id="negative-prompt-text-input",
|
| 274 |
+
).style(
|
| 275 |
+
border=(True, False, True, True),
|
| 276 |
+
rounded=(True, False, False, True),
|
| 277 |
+
container=False,
|
| 278 |
+
)
|
|
|
|
| 279 |
btn = gr.Button("Generate image").style(
|
| 280 |
margin=False,
|
| 281 |
rounded=(False, True, True, False),
|