Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -74,17 +74,17 @@ with gr.Blocks(css=css) as demo:
|
|
74 |
output_res = ImageSlider(label="Flux / Upscaled")
|
75 |
with gr.Column(scale=2):
|
76 |
prompt = gr.Textbox(label="Image Description")
|
77 |
-
basemodel_choice = gr.Dropdown(label="Model", choices=["black-forest-labs/FLUX.1-schnell"
|
78 |
-
lora_model_choice = gr.Dropdown(label="LoRA", choices=["
|
79 |
process_lora = gr.Checkbox(label="LoRA Process")
|
80 |
process_upscale = gr.Checkbox(label="Scale Process")
|
81 |
upscale_factor = gr.Radio(label="Scaling Factor", choices=[2, 4, 8], value=2)
|
82 |
|
83 |
with gr.Accordion(label="Advanced Options", open=False):
|
84 |
width = gr.Slider(label="Width", minimum=512, maximum=1280, step=8, value=1280)
|
85 |
-
height = gr.Slider(label="Height", minimum=512, maximum=1280, step=8, value=
|
86 |
-
scales = gr.Slider(label="Scale", minimum=1, maximum=20, step=1, value=
|
87 |
-
steps = gr.Slider(label="Steps", minimum=1, maximum=100, step=1, value=
|
88 |
seed = gr.Number(label="Seed", value=-1)
|
89 |
|
90 |
btn = gr.Button("Generate")
|
|
|
74 |
output_res = ImageSlider(label="Flux / Upscaled")
|
75 |
with gr.Column(scale=2):
|
76 |
prompt = gr.Textbox(label="Image Description")
|
77 |
+
basemodel_choice = gr.Dropdown(label="Model", choices=["black-forest-labs/FLUX.1-schnell"], value="black-forest-labs/FLUX.1-schnell")
|
78 |
+
lora_model_choice = gr.Dropdown(label="LoRA", choices=["XLabs-AI/flux-RealismLora"], value="XLabs-AI/flux-RealismLora")
|
79 |
process_lora = gr.Checkbox(label="LoRA Process")
|
80 |
process_upscale = gr.Checkbox(label="Scale Process")
|
81 |
upscale_factor = gr.Radio(label="Scaling Factor", choices=[2, 4, 8], value=2)
|
82 |
|
83 |
with gr.Accordion(label="Advanced Options", open=False):
|
84 |
width = gr.Slider(label="Width", minimum=512, maximum=1280, step=8, value=1280)
|
85 |
+
height = gr.Slider(label="Height", minimum=512, maximum=1280, step=8, value=1280)
|
86 |
+
scales = gr.Slider(label="Scale", minimum=1, maximum=20, step=1, value=4)
|
87 |
+
steps = gr.Slider(label="Steps", minimum=1, maximum=100, step=1, value=4)
|
88 |
seed = gr.Number(label="Seed", value=-1)
|
89 |
|
90 |
btn = gr.Button("Generate")
|