Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -375,9 +375,9 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
|
|
375 |
)
|
376 |
|
377 |
with gr.Row():
|
378 |
-
username = gr.Textbox(label="Username", placeholder="Enter your username")
|
379 |
with gr.Row():
|
380 |
-
password = gr.Textbox(label="Password", type="password", placeholder="Enter your password")
|
381 |
with gr.Row():
|
382 |
login_button = gr.Button("Login", size="sm")
|
383 |
login_message = gr.Markdown(visible=False)
|
@@ -430,7 +430,7 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
|
|
430 |
"""
|
431 |
)
|
432 |
|
433 |
-
with gr.Accordion("Set Custom QR Code Colors", open=False):
|
434 |
bg_color = gr.ColorPicker(
|
435 |
label="Background Color",
|
436 |
value="#FFFFFF",
|
@@ -447,7 +447,7 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
|
|
447 |
info="Check this to invert the colors of the final image",
|
448 |
visible=False,
|
449 |
)
|
450 |
-
with gr.Accordion("AI Model Selection", open=False):
|
451 |
controlnet_model_dropdown = gr.Dropdown(
|
452 |
choices=list(CONTROLNET_MODELS.keys()),
|
453 |
value="QR Code Monster",
|
@@ -499,7 +499,7 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
|
|
499 |
value=0.6,
|
500 |
label="Reference Image Influence",
|
501 |
info="Controls how much the reference image influences the final result (0 = ignore, 5 = copy exactly)",
|
502 |
-
visible=
|
503 |
)
|
504 |
invert_init_image_button = gr.Button("Invert Init Image", size="sm", visible=False)
|
505 |
|
|
|
375 |
)
|
376 |
|
377 |
with gr.Row():
|
378 |
+
username = gr.Textbox(label="Username", placeholder="Enter your username", value="ugd")
|
379 |
with gr.Row():
|
380 |
+
password = gr.Textbox(label="Password", type="password", placeholder="Enter your password", value="ugd!")
|
381 |
with gr.Row():
|
382 |
login_button = gr.Button("Login", size="sm")
|
383 |
login_message = gr.Markdown(visible=False)
|
|
|
430 |
"""
|
431 |
)
|
432 |
|
433 |
+
with gr.Accordion("Set Custom QR Code Colors", open=False, visible=False):
|
434 |
bg_color = gr.ColorPicker(
|
435 |
label="Background Color",
|
436 |
value="#FFFFFF",
|
|
|
447 |
info="Check this to invert the colors of the final image",
|
448 |
visible=False,
|
449 |
)
|
450 |
+
with gr.Accordion("AI Model Selection", open=False, visible=False):
|
451 |
controlnet_model_dropdown = gr.Dropdown(
|
452 |
choices=list(CONTROLNET_MODELS.keys()),
|
453 |
value="QR Code Monster",
|
|
|
499 |
value=0.6,
|
500 |
label="Reference Image Influence",
|
501 |
info="Controls how much the reference image influences the final result (0 = ignore, 5 = copy exactly)",
|
502 |
+
visible=False
|
503 |
)
|
504 |
invert_init_image_button = gr.Button("Invert Init Image", size="sm", visible=False)
|
505 |
|