Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ def sample(sampler, model, c, uc, scale, start_code, h=512, w=512, precision="au
|
|
76 |
x_samples_ddim = model.decode_first_stage(samples_ddim)
|
77 |
return to_im_list(x_samples_ddim)
|
78 |
|
79 |
-
def run(
|
80 |
|
81 |
inps = []
|
82 |
for i in range(0, len(args)-4, n_inputs):
|
|
|
76 |
x_samples_ddim = model.decode_first_stage(samples_ddim)
|
77 |
return to_im_list(x_samples_ddim)
|
78 |
|
79 |
+
def run(args):
|
80 |
|
81 |
inps = []
|
82 |
for i in range(0, len(args)-4, n_inputs):
|