Spaces:
Runtime error
Runtime error
Commit
·
ab1d830
1
Parent(s):
715cbb2
Update app.py
Browse files
app.py
CHANGED
@@ -106,9 +106,9 @@ with block:
|
|
106 |
btn = gr.Button("Generate image", scale=0)
|
107 |
|
108 |
with gr.Accordion('FreeU Parameters', open=False):
|
109 |
-
sd_options = gr.Dropdown(options, label="SD options")
|
110 |
-
|
111 |
-
model_id = "CompVis/stable-diffusion-v1-4"
|
112 |
|
113 |
if sd_options == 'SD1.4':
|
114 |
model_id = "CompVis/stable-diffusion-v1-4"
|
|
|
106 |
btn = gr.Button("Generate image", scale=0)
|
107 |
|
108 |
with gr.Accordion('FreeU Parameters', open=False):
|
109 |
+
# sd_options = gr.Dropdown(options, label="SD options")
|
110 |
+
sd_options = gr.Dropdown(options, value='SD1.4', label="SD options")
|
111 |
+
# model_id = "CompVis/stable-diffusion-v1-4"
|
112 |
|
113 |
if sd_options == 'SD1.4':
|
114 |
model_id = "CompVis/stable-diffusion-v1-4"
|