Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -329,6 +329,8 @@ with gr.Blocks(theme='Hev832/Applio') as blocks:
|
|
| 329 |
info="List elements or styles you want to avoid in your QR code art.",
|
| 330 |
)
|
| 331 |
|
|
|
|
|
|
|
| 332 |
with gr.Accordion(label="Use Your Own Image as a Reference", open=True, visible=True) as init_image_acc:
|
| 333 |
init_image = gr.Image(label="Reference Image", type="pil")
|
| 334 |
with gr.Row():
|
|
@@ -339,16 +341,14 @@ with gr.Blocks(theme='Hev832/Applio') as blocks:
|
|
| 339 |
info="Allows you to use your own image for generation, otherwise a generic QR Code is created automatically as the base image"
|
| 340 |
)
|
| 341 |
invert_init_image_button = gr.Button("Invert Init Image")
|
| 342 |
-
|
| 343 |
-
with gr.Row():
|
| 344 |
-
run_btn = gr.Button("🎨 Create Your QR Art", variant="primary")
|
| 345 |
-
|
| 346 |
with gr.Accordion(label="QR Code Image (Optional)", open=False, visible=False):
|
| 347 |
qr_code_image = gr.Image(
|
| 348 |
label="QR Code Image (Optional). Leave blank to automatically generate QR code",
|
| 349 |
type="pil",
|
| 350 |
)
|
| 351 |
|
|
|
|
| 352 |
with gr.Accordion("Advanced Art Controls", open=True):
|
| 353 |
with gr.Row():
|
| 354 |
controlnet_conditioning_scale = gr.Slider(
|
|
|
|
| 329 |
info="List elements or styles you want to avoid in your QR code art.",
|
| 330 |
)
|
| 331 |
|
| 332 |
+
run_btn = gr.Button("🎨 Create Your QR Art", variant="primary")
|
| 333 |
+
|
| 334 |
with gr.Accordion(label="Use Your Own Image as a Reference", open=True, visible=True) as init_image_acc:
|
| 335 |
init_image = gr.Image(label="Reference Image", type="pil")
|
| 336 |
with gr.Row():
|
|
|
|
| 341 |
info="Allows you to use your own image for generation, otherwise a generic QR Code is created automatically as the base image"
|
| 342 |
)
|
| 343 |
invert_init_image_button = gr.Button("Invert Init Image")
|
| 344 |
+
|
|
|
|
|
|
|
|
|
|
| 345 |
with gr.Accordion(label="QR Code Image (Optional)", open=False, visible=False):
|
| 346 |
qr_code_image = gr.Image(
|
| 347 |
label="QR Code Image (Optional). Leave blank to automatically generate QR code",
|
| 348 |
type="pil",
|
| 349 |
)
|
| 350 |
|
| 351 |
+
|
| 352 |
with gr.Accordion("Advanced Art Controls", open=True):
|
| 353 |
with gr.Row():
|
| 354 |
controlnet_conditioning_scale = gr.Slider(
|