Spaces:
Runtime error
Runtime error
heheyas
commited on
Commit
•
7d997fc
1
Parent(s):
4068077
thanks to zeroGPU
Browse files
app.py
CHANGED
@@ -24,8 +24,10 @@ import os
|
|
24 |
from glob import glob
|
25 |
from mediapy import write_video
|
26 |
from pathlib import Path
|
|
|
27 |
|
28 |
|
|
|
29 |
def do_sample(
|
30 |
image,
|
31 |
model,
|
|
|
24 |
from glob import glob
|
25 |
from mediapy import write_video
|
26 |
from pathlib import Path
|
27 |
+
import spaces
|
28 |
|
29 |
|
30 |
+
@spaces.GPU
|
31 |
def do_sample(
|
32 |
image,
|
33 |
model,
|