multimodalart HF Staff commited on
Commit
4140dcf
·
verified ·
1 Parent(s): cfae2bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -241,25 +241,25 @@ FLUX.2 Klein [dev] is a distilled model capable of generating, editing and combi
241
 
242
  run_button = gr.Button("Run", scale=1)
243
 
244
- with gr.Accordion("Input image(s) (optional)", open=True):
245
  input_images = gr.Gallery(
246
  label="Input Image(s)",
247
  type="pil",
248
  columns=3,
249
  rows=1,
250
  )
 
 
 
 
 
 
251
 
252
  with gr.Accordion("Advanced Settings", open=False):
253
- model_choice = gr.Radio(
254
- label="Model Size",
255
- choices=["4B", "9B"],
256
- value="4B",
257
- info="Choose between the 4B (faster) or 9B (higher quality) model"
258
- )
259
 
260
  prompt_upsampling = gr.Checkbox(
261
  label="Prompt Upsampling",
262
- value=True,
263
  info="Automatically enhance the prompt using a VLM"
264
  )
265
 
 
241
 
242
  run_button = gr.Button("Run", scale=1)
243
 
244
+ with gr.Accordion("Input image(s) (optional)", open=False):
245
  input_images = gr.Gallery(
246
  label="Input Image(s)",
247
  type="pil",
248
  columns=3,
249
  rows=1,
250
  )
251
+
252
+ model_choice = gr.Radio(
253
+ label="Model Size",
254
+ choices=["4B", "9B"],
255
+ value="4B",
256
+ )
257
 
258
  with gr.Accordion("Advanced Settings", open=False):
 
 
 
 
 
 
259
 
260
  prompt_upsampling = gr.Checkbox(
261
  label="Prompt Upsampling",
262
+ value=False,
263
  info="Automatically enhance the prompt using a VLM"
264
  )
265