Yaron Koresh commited on
Commit
e087791
·
verified ·
1 Parent(s): b7b18e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -315,7 +315,7 @@ def calc(img,p1,p2,motion):
315
  pipe.set_adapters("motion", [0.7])
316
  last_motion = motion
317
 
318
- pipe.to(device)
319
 
320
  return pipe(
321
  prompt=p1,
 
315
  pipe.set_adapters("motion", [0.7])
316
  last_motion = motion
317
 
318
+ pipe.to(device,dtype=dtype)
319
 
320
  return pipe(
321
  prompt=p1,