Spaces:
Runtime error
Runtime error
Commit
·
2d44be5
1
Parent(s):
9101835
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def infer(prompt, api_key):
|
|
33 |
# Defaults to 7.0 if not specified.
|
34 |
width=512, # Generation width, defaults to 512 if not included.
|
35 |
height=512, # Generation height, defaults to 512 if not included.
|
36 |
-
samples=
|
37 |
sampler=generation.SAMPLER_K_DPMPP_2M # Choose which sampler we want to denoise our generation with.
|
38 |
# Defaults to k_dpmpp_2m if not specified. Clip Guidance only supports ancestral samplers.
|
39 |
# (Available Samplers: ddim, plms, k_euler, k_euler_ancestral, k_heun, k_dpm_2, k_dpm_2_ancestral, k_dpmpp_2s_ancestral, k_lms, k_dpmpp_2m)
|
|
|
33 |
# Defaults to 7.0 if not specified.
|
34 |
width=512, # Generation width, defaults to 512 if not included.
|
35 |
height=512, # Generation height, defaults to 512 if not included.
|
36 |
+
samples=2, # Number of images to generate, defaults to 1 if not included.
|
37 |
sampler=generation.SAMPLER_K_DPMPP_2M # Choose which sampler we want to denoise our generation with.
|
38 |
# Defaults to k_dpmpp_2m if not specified. Clip Guidance only supports ancestral samplers.
|
39 |
# (Available Samplers: ddim, plms, k_euler, k_euler_ancestral, k_heun, k_dpm_2, k_dpm_2_ancestral, k_dpmpp_2s_ancestral, k_lms, k_dpmpp_2m)
|