Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -405,7 +405,7 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
|
|
| 405 |
|
| 406 |
with gr.Tab("Welcome"):
|
| 407 |
with gr.Row():
|
| 408 |
-
with gr.Column():
|
| 409 |
gr.Markdown(
|
| 410 |
"""
|
| 411 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/8lHjpId7-JDalHq1JByPE.webp" alt="Yamamoto Logo" class="centered-image">
|
|
@@ -420,19 +420,25 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
|
|
| 420 |
2. **Craft Your Prompt**: Describe the artistic style or theme you envision for your QR code.
|
| 421 |
3. **Fine-tune with Advanced Settings**: Adjust parameters to perfect your creation (see tips below).
|
| 422 |
4. **Generate and Iterate**: Click 'Run' to create your art, then refine as needed.
|
| 423 |
-
---
|
| 424 |
-
## Login below using the Yamamoto internal username and password to access the full app.
|
| 425 |
-
### Once logging in, a new tab will appear allowing you to access the QR Code Art Generator.
|
| 426 |
"""
|
| 427 |
)
|
| 428 |
|
| 429 |
-
with gr.Column():
|
| 430 |
with gr.Row():
|
| 431 |
-
gr.Markdown(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 432 |
username = gr.Textbox(label="Username", placeholder="Enter your username")
|
|
|
|
| 433 |
password = gr.Textbox(label="Password", type="password", placeholder="Enter your password")
|
|
|
|
| 434 |
login_button = gr.Button("Login", size="sm")
|
| 435 |
-
|
| 436 |
|
| 437 |
|
| 438 |
with gr.Tab("QR Code and Prompt Input", visible=False) as app_container:
|
|
|
|
| 405 |
|
| 406 |
with gr.Tab("Welcome"):
|
| 407 |
with gr.Row():
|
| 408 |
+
with gr.Column(scale=2):
|
| 409 |
gr.Markdown(
|
| 410 |
"""
|
| 411 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/8lHjpId7-JDalHq1JByPE.webp" alt="Yamamoto Logo" class="centered-image">
|
|
|
|
| 420 |
2. **Craft Your Prompt**: Describe the artistic style or theme you envision for your QR code.
|
| 421 |
3. **Fine-tune with Advanced Settings**: Adjust parameters to perfect your creation (see tips below).
|
| 422 |
4. **Generate and Iterate**: Click 'Run' to create your art, then refine as needed.
|
|
|
|
|
|
|
|
|
|
| 423 |
"""
|
| 424 |
)
|
| 425 |
|
| 426 |
+
with gr.Column(scale=1):
|
| 427 |
with gr.Row():
|
| 428 |
+
gr.Markdown(
|
| 429 |
+
"""
|
| 430 |
+
## Login below using the Yamamoto internal username and password to access the full app.
|
| 431 |
+
### Once logged in, a new tab will appear named "QR Code Art Generator" allowing you to access the QR Code Art Generator.
|
| 432 |
+
"""
|
| 433 |
+
)
|
| 434 |
+
|
| 435 |
+
with gr.Row():
|
| 436 |
username = gr.Textbox(label="Username", placeholder="Enter your username")
|
| 437 |
+
with gr.Row():
|
| 438 |
password = gr.Textbox(label="Password", type="password", placeholder="Enter your password")
|
| 439 |
+
with gr.Row():
|
| 440 |
login_button = gr.Button("Login", size="sm")
|
| 441 |
+
login_error = gr.Markdown("Invalid username or password. Please try again.", visible=False)
|
| 442 |
|
| 443 |
|
| 444 |
with gr.Tab("QR Code and Prompt Input", visible=False) as app_container:
|