Yaron Koresh commited on
Commit
807349f
·
verified ·
1 Parent(s): 27ae6f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -217,7 +217,7 @@ def pipe_generate(img,p1,p2,motion):
217
 
218
  pipe.to(device,dtype=dtype)
219
 
220
- if not img:
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,