Update app.py
Browse files
app.py
CHANGED
|
@@ -432,7 +432,7 @@ with gr.Blocks(theme="Hev832/Applio", css=css, fill_width=True, fill_height=True
|
|
| 432 |
with gr.Column(scale=2, elem_classes="welcome-content"):
|
| 433 |
gr.Markdown(
|
| 434 |
"""
|
| 435 |
-
<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/
|
| 436 |
|
| 437 |
# 🎨 Underground Digital's Caption Captain: AI-Powered Art Inspiration
|
| 438 |
|
|
@@ -449,27 +449,27 @@ with gr.Blocks(theme="Hev832/Applio", css=css, fill_width=True, fill_height=True
|
|
| 449 |
"""
|
| 450 |
)
|
| 451 |
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
| 456 |
-
|
| 457 |
-
|
| 458 |
-
|
| 459 |
-
|
| 460 |
-
|
| 461 |
-
|
| 462 |
-
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
|
| 466 |
-
|
| 467 |
-
|
| 468 |
-
|
| 469 |
-
|
| 470 |
-
|
| 471 |
-
|
| 472 |
-
|
| 473 |
|
| 474 |
with gr.Tab("Caption Captain") as app_container:
|
| 475 |
with gr.Accordion("How to Use Caption Captain", open=False):
|
|
|
|
| 432 |
with gr.Column(scale=2, elem_classes="welcome-content"):
|
| 433 |
gr.Markdown(
|
| 434 |
"""
|
| 435 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/LVZnwLV43UUvKu3HORqSs.webp" alt="UDG" width="250" style="max-width: 100%; height: auto; class="centered-image">
|
| 436 |
|
| 437 |
# 🎨 Underground Digital's Caption Captain: AI-Powered Art Inspiration
|
| 438 |
|
|
|
|
| 449 |
"""
|
| 450 |
)
|
| 451 |
|
| 452 |
+
with gr.Column(scale=1):
|
| 453 |
+
with gr.Row():
|
| 454 |
+
gr.Markdown(
|
| 455 |
+
"""
|
| 456 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/IzuPBIuMoRpyB04oGBnOX.png" alt="UDG" width="250" style="max-width: 100%; height: auto; class="centered-image">
|
| 457 |
+
|
| 458 |
+
Login below using the internal<br>
|
| 459 |
+
username and password to access the full app.<br>
|
| 460 |
+
|
| 461 |
+
Once logged in, a new tab will appear named<br>
|
| 462 |
+
"QR Code Art Generator" allowing you to access.
|
| 463 |
+
"""
|
| 464 |
+
)
|
| 465 |
+
|
| 466 |
+
with gr.Row():
|
| 467 |
+
username = gr.Textbox(label="Username", placeholder="Enter your username", value="ugd")
|
| 468 |
+
with gr.Row():
|
| 469 |
+
password = gr.Textbox(label="Password", type="password", placeholder="Enter your password", value="ugd!")
|
| 470 |
+
with gr.Row():
|
| 471 |
+
login_button = gr.Button("Login", size="sm")
|
| 472 |
+
login_message = gr.Markdown(visible=False)
|
| 473 |
|
| 474 |
with gr.Tab("Caption Captain") as app_container:
|
| 475 |
with gr.Accordion("How to Use Caption Captain", open=False):
|