Akbartus commited on
Commit
b72b1f4
1 Parent(s): c429527

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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", "black-forest-labs/FLUX.1-DEV", "enhanceaiteam/Flux-uncensored", "Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro", "Shakker-Labs/FLUX.1-dev-LoRA-add-details", "city96/FLUX.1-dev-gguf"], value="black-forest-labs/FLUX.1-schnell")
78
- lora_model_choice = gr.Dropdown(label="LoRA", choices=["Shakker-Labs/FLUX.1-dev-LoRA-add-details", "XLabs-AI/flux-RealismLora", "enhanceaiteam/Flux-uncensored"], 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=768)
86
- scales = gr.Slider(label="Scale", minimum=1, maximum=20, step=1, value=8)
87
- steps = gr.Slider(label="Steps", minimum=1, maximum=100, step=1, value=8)
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")