Spaces:
Running
Running
salomonsky
commited on
Commit
•
4d637cd
1
Parent(s):
92c89ad
Update app.py
Browse files
app.py
CHANGED
@@ -71,14 +71,14 @@ with gr.Blocks(css=CSS, js=JS, theme="Nymbo/Nymbo_Theme") as demo:
|
|
71 |
basemodel_choice = gr.Dropdown(label="Base Model", choices=["black-forest-labs/FLUX.1-schnell", "black-forest-labs/FLUX.1-DEV"], value="black-forest-labs/FLUX.1-schnell")
|
72 |
lora_add = gr.Textbox(label="Add Flux LoRA", info="Modelo Lora", lines=1, value="XLabs-AI/flux-RealismLora")
|
73 |
lora_word = gr.Textbox(label="Add Flux LoRA Trigger Word", info="Add the Trigger Word", lines=1, value="")
|
74 |
-
upscale_factor = gr.Radio(label="UpScale Factor", choices=[2, 3, 4], value=2, scale=2)
|
75 |
-
process_upscale = gr.Checkbox(label="Process Upscale", value=True)
|
76 |
-
submit_btn = gr.Button("Submit", scale=1)
|
77 |
width = gr.Slider(label="Width", minimum=512, maximum=1280, step=8, value=512)
|
78 |
height = gr.Slider(label="Height", minimum=512, maximum=1280, step=8, value=512)
|
79 |
scales = gr.Slider(label="Guidance", minimum=3.5, maximum=7, step=0.1, value=3.5)
|
80 |
steps = gr.Slider(label="Steps", minimum=1, maximum=100, step=1, value=24)
|
81 |
seed = gr.Slider(label="Seeds", minimum=-1, maximum=MAX_SEED, step=1, value=-1)
|
|
|
|
|
|
|
82 |
|
83 |
submit_btn.click(
|
84 |
fn=lambda: None,
|
|
|
71 |
basemodel_choice = gr.Dropdown(label="Base Model", choices=["black-forest-labs/FLUX.1-schnell", "black-forest-labs/FLUX.1-DEV"], value="black-forest-labs/FLUX.1-schnell")
|
72 |
lora_add = gr.Textbox(label="Add Flux LoRA", info="Modelo Lora", lines=1, value="XLabs-AI/flux-RealismLora")
|
73 |
lora_word = gr.Textbox(label="Add Flux LoRA Trigger Word", info="Add the Trigger Word", lines=1, value="")
|
|
|
|
|
|
|
74 |
width = gr.Slider(label="Width", minimum=512, maximum=1280, step=8, value=512)
|
75 |
height = gr.Slider(label="Height", minimum=512, maximum=1280, step=8, value=512)
|
76 |
scales = gr.Slider(label="Guidance", minimum=3.5, maximum=7, step=0.1, value=3.5)
|
77 |
steps = gr.Slider(label="Steps", minimum=1, maximum=100, step=1, value=24)
|
78 |
seed = gr.Slider(label="Seeds", minimum=-1, maximum=MAX_SEED, step=1, value=-1)
|
79 |
+
upscale_factor = gr.Radio(label="UpScale Factor", choices=[2, 3, 4], value=2, scale=2)
|
80 |
+
process_upscale = gr.Checkbox(label="Process Upscale", value=True)
|
81 |
+
submit_btn = gr.Button("Submit", scale=1)
|
82 |
|
83 |
submit_btn.click(
|
84 |
fn=lambda: None,
|