Spaces:
Running
Running
Sebastiankay
commited on
Commit
•
5ea2e5e
1
Parent(s):
856cb99
Update app.py
Browse files
app.py
CHANGED
@@ -238,7 +238,7 @@ with gr.Blocks(theme=theme, head=custom_head, css=custom_css, js=custom_js, titl
|
|
238 |
selected_model = "FLUX"
|
239 |
for model in models_new_api:
|
240 |
inference_models.append(model)
|
241 |
-
select_model = gr.Dropdown(choices=inference_models, value=selected_model
|
242 |
# with gr.Row():
|
243 |
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)
|
244 |
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)
|
|
|
238 |
selected_model = "FLUX"
|
239 |
for model in models_new_api:
|
240 |
inference_models.append(model)
|
241 |
+
select_model = gr.Dropdown(choices=inference_models, value=selected_model, label="Model", elem_id="select_model", elem_classes="select-model")
|
242 |
# with gr.Row():
|
243 |
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)
|
244 |
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)
|