Spaces:
Runtime error
Runtime error
Commit
·
3d9c6f6
1
Parent(s):
4a8f50c
Update app.py
Browse files
app.py
CHANGED
|
@@ -328,9 +328,9 @@ if __name__ == "__main__":
|
|
| 328 |
st.text("")
|
| 329 |
|
| 330 |
## Create button to trigger poster generation
|
| 331 |
-
sd_options = ['Stable Diffusion
|
| 332 |
buffer1, col1, col2, buffer2 = st.columns([0.3, 1, 1, 1])
|
| 333 |
-
session.selected_model = col1.selectbox(label="Select SD model version", options=sd_options)
|
| 334 |
is_clicked = col2.button(label="Generate poster!")
|
| 335 |
|
| 336 |
st.text("")
|
|
|
|
| 328 |
st.text("")
|
| 329 |
|
| 330 |
## Create button to trigger poster generation
|
| 331 |
+
sd_options = ['Stable Diffusion v1.5', 'Stable Diffusion v2.1', 'Stable Diffusion XL']
|
| 332 |
buffer1, col1, col2, buffer2 = st.columns([0.3, 1, 1, 1])
|
| 333 |
+
session.selected_model = col1.selectbox(label="Select SD model version", options=sd_options, label_visibility="collapsed")
|
| 334 |
is_clicked = col2.button(label="Generate poster!")
|
| 335 |
|
| 336 |
st.text("")
|