Sebastiankay commited on
Commit
2b0c385
1 Parent(s): ccdefe5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -222,8 +222,8 @@ with gr.Blocks(theme=theme, head=custom_head, css=custom_css, js=custom_js, titl
222
  with gr.Row(elem_classes="image_size_selctor_wrapper"):
223
  with gr.Column(scale=1):
224
  with gr.Row():
225
- inference_models = ["FLUX-API-OLD"] # ["FLUX", "FLUX-Realism", "FLUX-Pixel", "FLUX-Anime", "FLUX-3D", "FLUX-Disney", "ANY-DARK", "Stable-Diffusion-XL-Base", "Stable-Diffusion-XL-Lightning"]
226
- select_model = gr.Dropdown(choices=inference_models, value="FLUX-API-OLD", label="Model", elem_id="select_model", elem_classes="select-model")
227
  # with gr.Row():
228
  image_width = gr.Number(label="Breite", minimum=256, maximum=MAX_IMAGE_SIZE, value=576, step=32, elem_id="image_width_selector", elem_classes="image-width-selector", scale=1, visible=False)
229
  image_height = gr.Number(label="Höhe", minimum=256, maximum=MAX_IMAGE_SIZE, value=1024, step=32, elem_id="image_height_selector", elem_classes="image-height-selector", scale=1, visible=False)
 
222
  with gr.Row(elem_classes="image_size_selctor_wrapper"):
223
  with gr.Column(scale=1):
224
  with gr.Row():
225
+ inference_models = ["FLUX-API-OLD", "FLUX", "FLUX-Realism", "FLUX-Pixel", "FLUX-Anime", "FLUX-3D", "FLUX-Disney", "ANY-DARK", "Stable-Diffusion-XL-Base", "Stable-Diffusion-XL-Lightning"]
226
+ select_model = gr.Dropdown(choices=inference_models, value="FLUX", label="Model", elem_id="select_model", elem_classes="select-model")
227
  # with gr.Row():
228
  image_width = gr.Number(label="Breite", minimum=256, maximum=MAX_IMAGE_SIZE, value=576, step=32, elem_id="image_width_selector", elem_classes="image-width-selector", scale=1, visible=False)
229
  image_height = gr.Number(label="Höhe", minimum=256, maximum=MAX_IMAGE_SIZE, value=1024, step=32, elem_id="image_height_selector", elem_classes="image-height-selector", scale=1, visible=False)