Spaces:
Running
Running
salomonsky
commited on
Commit
•
67e8080
1
Parent(s):
ffe0681
Update app.py
Browse files
app.py
CHANGED
@@ -83,9 +83,9 @@ with gr.Blocks(css=css, theme="Nymbo/Nymbo_Theme") as demo:
|
|
83 |
improve_btn = gr.Button("Mejora mi prompt")
|
84 |
basemodel_choice = gr.Dropdown(label="Modelo", choices=["black-forest-labs/FLUX.1-schnell", "black-forest-labs/FLUX.1-DEV"], value="black-forest-labs/FLUX.1-schnell")
|
85 |
lora_model_choice = gr.Dropdown(label="LORA Realismo", choices=["Shakker-Labs/FLUX.1-dev-LoRA-add-details", "XLabs-AI/flux-RealismLora"], value="XLabs-AI/flux-RealismLora")
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
improve_btn.click(fn=improve_prompt, inputs=[prompt], outputs=improved_prompt)
|
90 |
|
91 |
with gr.Accordion(label="Opciones Avanzadas", open=False):
|
@@ -93,6 +93,7 @@ with gr.Blocks(css=css, theme="Nymbo/Nymbo_Theme") as demo:
|
|
93 |
height = gr.Slider(label="Alto", minimum=512, maximum=1280, step=8, value=768)
|
94 |
scales = gr.Slider(label="Escalado", minimum=1, maximum=20, step=1, value=10)
|
95 |
steps = gr.Slider(label="Pasos", minimum=1, maximum=100, step=1, value=20)
|
|
|
96 |
seed = gr.Number(label="Semilla", value=-1)
|
97 |
|
98 |
btn = gr.Button("Generar")
|
|
|
83 |
improve_btn = gr.Button("Mejora mi prompt")
|
84 |
basemodel_choice = gr.Dropdown(label="Modelo", choices=["black-forest-labs/FLUX.1-schnell", "black-forest-labs/FLUX.1-DEV"], value="black-forest-labs/FLUX.1-schnell")
|
85 |
lora_model_choice = gr.Dropdown(label="LORA Realismo", choices=["Shakker-Labs/FLUX.1-dev-LoRA-add-details", "XLabs-AI/flux-RealismLora"], value="XLabs-AI/flux-RealismLora")
|
86 |
+
with gr.Row():
|
87 |
+
process_lora = gr.Checkbox(label="Procesar LORA")
|
88 |
+
process_upscale = gr.Checkbox(label="Procesar Escalador")
|
89 |
improve_btn.click(fn=improve_prompt, inputs=[prompt], outputs=improved_prompt)
|
90 |
|
91 |
with gr.Accordion(label="Opciones Avanzadas", open=False):
|
|
|
93 |
height = gr.Slider(label="Alto", minimum=512, maximum=1280, step=8, value=768)
|
94 |
scales = gr.Slider(label="Escalado", minimum=1, maximum=20, step=1, value=10)
|
95 |
steps = gr.Slider(label="Pasos", minimum=1, maximum=100, step=1, value=20)
|
96 |
+
upscale_factor = gr.Radio(label="Factor de Escala", choices=[2, 4, 8], value=2)
|
97 |
seed = gr.Number(label="Semilla", value=-1)
|
98 |
|
99 |
btn = gr.Button("Generar")
|