Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -217,7 +217,7 @@ def pipe_generate(img,p1,p2,motion):
|
|
217 |
|
218 |
pipe.to(device,dtype=dtype)
|
219 |
|
220 |
-
if
|
221 |
img = pipe(
|
222 |
prompt=p1,
|
223 |
height=height,
|
|
|
217 |
|
218 |
pipe.to(device,dtype=dtype)
|
219 |
|
220 |
+
if img == None:
|
221 |
img = pipe(
|
222 |
prompt=p1,
|
223 |
height=height,
|