Spaces:
Build error
Build error
Commit
·
2337d90
1
Parent(s):
2188f5e
Fixed option list
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ examples = ["cartoon bird",
|
|
34 |
gr.Interface(
|
35 |
fn=generate,
|
36 |
inputs=[gr.inputs.Textbox(placeholder="cartoon bird", label="Prompt", lines=1),
|
37 |
-
gr.inputs.Dropdown(choices=pipes.keys(), default="Merged and quantized", label="Model version"),
|
38 |
],
|
39 |
outputs=gr.outputs.Image(type="pil", label="Generated Image"),
|
40 |
title="OpenVINO-optimized Stable Diffusion",
|
|
|
34 |
gr.Interface(
|
35 |
fn=generate,
|
36 |
inputs=[gr.inputs.Textbox(placeholder="cartoon bird", label="Prompt", lines=1),
|
37 |
+
gr.inputs.Dropdown(choices=[option for option in pipes.keys()], default="Merged and quantized", label="Model version"),
|
38 |
],
|
39 |
outputs=gr.outputs.Image(type="pil", label="Generated Image"),
|
40 |
title="OpenVINO-optimized Stable Diffusion",
|