Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,8 @@ MAX_SEED = np.iinfo(np.int32).max
|
|
54 |
MAX_IMAGE_SIZE = 1216
|
55 |
|
56 |
@spaces.GPU
|
57 |
-
def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, sampler_name)
|
|
|
58 |
cleanup_old_files()
|
59 |
|
60 |
if sampler_name == "DDIM":
|
|
|
54 |
MAX_IMAGE_SIZE = 1216
|
55 |
|
56 |
@spaces.GPU
|
57 |
+
def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, sampler_name):
|
58 |
+
|
59 |
cleanup_old_files()
|
60 |
|
61 |
if sampler_name == "DDIM":
|