salomonsky commited on
Commit
92c89ad
1 Parent(s): 471c590

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -68,17 +68,17 @@ with gr.Blocks(css=CSS, js=JS, theme="Nymbo/Nymbo_Theme") as demo:
68
  with gr.Column(scale=0.8):
69
  with gr.Group():
70
  prompt = gr.Textbox(label="Prompt")
71
- basemodel_choice = gr.Radio(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,
 
68
  with gr.Column(scale=0.8):
69
  with gr.Group():
70
  prompt = gr.Textbox(label="Prompt")
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,