Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -404,32 +404,33 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
|
|
404 |
generated_images = gr.State([])
|
405 |
|
406 |
with gr.Tab("Welcome"):
|
407 |
-
gr.Markdown(
|
408 |
-
"""
|
409 |
-
<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/8lHjpId7-JDalHq1JByPE.webp" alt="Yamamoto Logo" class="centered-image">
|
410 |
-
|
411 |
-
# 🎨 Yamamoto QR Code Art Generator
|
412 |
-
|
413 |
-
## Transform Your QR Codes into Brand Masterpieces
|
414 |
-
This cutting-edge tool empowers our creative team to craft visually stunning,<br>
|
415 |
-
on-brand QR codes that perfectly blend functionality with artistic expression.
|
416 |
-
## 🚀 How It Works:
|
417 |
-
1. **Enter Your QR Code Content**: Start by inputting the URL or text for your QR code.
|
418 |
-
2. **Craft Your Prompt**: Describe the artistic style or theme you envision for your QR code.
|
419 |
-
3. **Fine-tune with Advanced Settings**: Adjust parameters to perfect your creation (see tips below).
|
420 |
-
4. **Generate and Iterate**: Click 'Run' to create your art, then refine as needed.
|
421 |
-
---
|
422 |
-
## Login below using the Yamamoto internal ussername and password to access the full app.
|
423 |
-
### Once logging in, a new tab will appear allowing you to access the QR Code Art Generator.
|
424 |
-
"""
|
425 |
-
)
|
426 |
-
|
427 |
-
# Add login form
|
428 |
with gr.Row():
|
429 |
-
with gr.Column():
|
430 |
-
|
431 |
-
|
432 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
433 |
login_button = gr.Button("Login")
|
434 |
login_error = gr.Markdown("Invalid username or password. Please try again.", visible=False)
|
435 |
|
|
|
404 |
generated_images = gr.State([])
|
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">
|
412 |
+
|
413 |
+
# 🎨 Yamamoto QR Code Art Generator
|
414 |
+
|
415 |
+
## Transform Your QR Codes into Brand Masterpieces
|
416 |
+
This cutting-edge tool empowers our creative team to craft visually stunning,<br>
|
417 |
+
on-brand QR codes that perfectly blend functionality with artistic expression.
|
418 |
+
## 🚀 How It Works:
|
419 |
+
1. **Enter Your QR Code Content**: Start by inputting the URL or text for your QR code.
|
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(scale=1):
|
430 |
+
with gr.Row():
|
431 |
+
gr.Markdown("## Login")
|
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")
|
435 |
login_error = gr.Markdown("Invalid username or password. Please try again.", visible=False)
|
436 |
|