Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -432,9 +432,9 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
|
|
| 432 |
)
|
| 433 |
|
| 434 |
with gr.Row():
|
| 435 |
-
username = gr.Textbox(label="Username", placeholder="Enter your username")
|
| 436 |
with gr.Row():
|
| 437 |
-
password = gr.Textbox(label="Password", type="password", placeholder="Enter your password")
|
| 438 |
with gr.Row():
|
| 439 |
login_button = gr.Button("Login", size="sm")
|
| 440 |
login_message = gr.Markdown(visible=False)
|
|
@@ -526,7 +526,16 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
|
|
| 526 |
)
|
| 527 |
|
| 528 |
with gr.Column():
|
| 529 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 530 |
scan_button = gr.Button("Verify QR Code Works", visible=False)
|
| 531 |
scan_result = gr.Textbox(label="Validation Result of QR Code", interactive=False, visible=False)
|
| 532 |
used_seed = gr.Number(label="Seed Used", interactive=False)
|
|
@@ -667,7 +676,7 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
|
|
| 667 |
with gr.Tab("Image Editing"):
|
| 668 |
with gr.Column():
|
| 669 |
image_selector = gr.Dropdown(label="Select Image to Edit", choices=[], interactive=True, visible=False)
|
| 670 |
-
image_to_edit = gr.Image(label="Your Artistic QR Code", show_download_button=True, show_fullscreen_button=True, container=True
|
| 671 |
|
| 672 |
with gr.Row():
|
| 673 |
qr_overlay = gr.Checkbox(label="Overlay Original QR Code", value=False, visible=False)
|
|
|
|
| 432 |
)
|
| 433 |
|
| 434 |
with gr.Row():
|
| 435 |
+
username = gr.Textbox(label="Username", placeholder="Enter your username", value="UGD")
|
| 436 |
with gr.Row():
|
| 437 |
+
password = gr.Textbox(label="Password", type="password", placeholder="Enter your password", value="UGD!")
|
| 438 |
with gr.Row():
|
| 439 |
login_button = gr.Button("Login", size="sm")
|
| 440 |
login_message = gr.Markdown(visible=False)
|
|
|
|
| 526 |
)
|
| 527 |
|
| 528 |
with gr.Column():
|
| 529 |
+
gr.Markdown("### Your Generated QR Code Art")
|
| 530 |
+
gr.Markdown("Click the download button below the image to save your creation.")
|
| 531 |
+
result_image = gr.Image(
|
| 532 |
+
label="Your Artistic QR Code",
|
| 533 |
+
show_download_button=True,
|
| 534 |
+
show_fullscreen_button=True,
|
| 535 |
+
container=True
|
| 536 |
+
)
|
| 537 |
+
gr.Markdown("💾 Use the download button above the image to save your QR code art.")
|
| 538 |
+
|
| 539 |
scan_button = gr.Button("Verify QR Code Works", visible=False)
|
| 540 |
scan_result = gr.Textbox(label="Validation Result of QR Code", interactive=False, visible=False)
|
| 541 |
used_seed = gr.Number(label="Seed Used", interactive=False)
|
|
|
|
| 676 |
with gr.Tab("Image Editing"):
|
| 677 |
with gr.Column():
|
| 678 |
image_selector = gr.Dropdown(label="Select Image to Edit", choices=[], interactive=True, visible=False)
|
| 679 |
+
image_to_edit = gr.Image(label="Your Artistic QR Code", show_download_button=True, show_fullscreen_button=True, container=True)
|
| 680 |
|
| 681 |
with gr.Row():
|
| 682 |
qr_overlay = gr.Checkbox(label="Overlay Original QR Code", value=False, visible=False)
|