Spaces:
Build error
Build error
AlexKoff88
commited on
Commit
·
26fbd8a
1
Parent(s):
9749dd2
Fixed drop down list
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ model_options = [option for option in pipes.keys()]
|
|
44 |
gr.Interface(
|
45 |
fn=generate,
|
46 |
inputs=[gr.inputs.Textbox(placeholder="cartoon bird", label="Prompt", lines=1),
|
47 |
-
gr.inputs.Dropdown(choices=model_options, default=
|
48 |
],
|
49 |
outputs=[gr.outputs.Image(type="pil", label="Generated Image"), gr.outputs.Textbox(label="Inference time")],
|
50 |
title="OpenVINO-optimized Stable Diffusion",
|
|
|
44 |
gr.Interface(
|
45 |
fn=generate,
|
46 |
inputs=[gr.inputs.Textbox(placeholder="cartoon bird", label="Prompt", lines=1),
|
47 |
+
gr.inputs.Dropdown(choices=model_options, default=model_options[-1], label="Model version"),
|
48 |
],
|
49 |
outputs=[gr.outputs.Image(type="pil", label="Generated Image"), gr.outputs.Textbox(label="Inference time")],
|
50 |
title="OpenVINO-optimized Stable Diffusion",
|