Spaces:
Runtime error
Runtime error
Commit
·
f7c4b88
1
Parent(s):
07f35f8
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ with block:
|
|
113 |
gr.Markdown("SD vs. FreeU.")
|
114 |
with gr.Group():
|
115 |
with gr.Row():
|
116 |
-
sd_options = gr.Dropdown([
|
117 |
|
118 |
if sd_options == 'SD1.5':
|
119 |
model = "runwayml/stable-diffusion-v1-5"
|
@@ -134,7 +134,7 @@ with block:
|
|
134 |
placeholder="Enter your prompt",
|
135 |
container=False,
|
136 |
)
|
137 |
-
|
138 |
|
139 |
seed = gr.Slider(label='seed',
|
140 |
minimum=0,
|
|
|
113 |
gr.Markdown("SD vs. FreeU.")
|
114 |
with gr.Group():
|
115 |
with gr.Row():
|
116 |
+
sd_options = gr.Dropdown(["SD1.4", "SD1.5", "SD2.1"], label="SD options")
|
117 |
|
118 |
if sd_options == 'SD1.5':
|
119 |
model = "runwayml/stable-diffusion-v1-5"
|
|
|
134 |
placeholder="Enter your prompt",
|
135 |
container=False,
|
136 |
)
|
137 |
+
btn = gr.Button("Generate image", scale=0)
|
138 |
|
139 |
seed = gr.Slider(label='seed',
|
140 |
minimum=0,
|