Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
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,
|