Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -268,7 +268,6 @@ def prompt_and_generate_button(prefix, pipeline_name: PIPELINE_NAMES, **kwargs):
|
|
268 |
|
269 |
# enable_attention_slicing = st.checkbox('Enable attention slicing (enables higher resolutions but is slower)', key=f"{prefix}-attention-slicing", value=True)
|
270 |
# enable_xformers = st.checkbox('Enable xformers library (better memory usage)', key=f"{prefix}-xformers", value=True)
|
271 |
-
num_images = st.slider("Number of images to generate", min_value=1, max_value=2, value=1, key=f"{prefix}-num-images")
|
272 |
|
273 |
images = []
|
274 |
|
|
|
268 |
|
269 |
# enable_attention_slicing = st.checkbox('Enable attention slicing (enables higher resolutions but is slower)', key=f"{prefix}-attention-slicing", value=True)
|
270 |
# enable_xformers = st.checkbox('Enable xformers library (better memory usage)', key=f"{prefix}-xformers", value=True)
|
|
|
271 |
|
272 |
images = []
|
273 |
|