Spaces:
Running
on
Zero
Running
on
Zero
Upload dc.py
Browse files
dc.py
CHANGED
@@ -320,7 +320,7 @@ class GuiSD:
|
|
320 |
|
321 |
def infer_short(self, model, pipe_params, progress=gr.Progress(track_tqdm=True)):
|
322 |
progress(0, desc="Start inference...")
|
323 |
-
images, image_list, metadata = model(**pipe_params)
|
324 |
progress(1, desc="Inference completed.")
|
325 |
if not isinstance(images, list): images = [images]
|
326 |
img = []
|
|
|
320 |
|
321 |
def infer_short(self, model, pipe_params, progress=gr.Progress(track_tqdm=True)):
|
322 |
progress(0, desc="Start inference...")
|
323 |
+
images, seed, image_list, metadata = model(**pipe_params)
|
324 |
progress(1, desc="Inference completed.")
|
325 |
if not isinstance(images, list): images = [images]
|
326 |
img = []
|