Spaces:
Running
on
Zero
Running
on
Zero
- scripts/anime.py +0 -1
- scripts/process_utils.py +0 -1
scripts/anime.py
CHANGED
@@ -19,7 +19,6 @@ import spaces
|
|
19 |
model = None
|
20 |
device = None
|
21 |
|
22 |
-
@spaces.GPU
|
23 |
def init_model(use_local=False):
|
24 |
global model, device
|
25 |
model_opt = "default"
|
|
|
19 |
model = None
|
20 |
device = None
|
21 |
|
|
|
22 |
def init_model(use_local=False):
|
23 |
global model, device
|
24 |
model_opt = "default"
|
scripts/process_utils.py
CHANGED
@@ -35,7 +35,6 @@ def ensure_rgb(image):
|
|
35 |
return image.convert('RGB')
|
36 |
return image
|
37 |
|
38 |
-
@spaces.GPU
|
39 |
def initialize(_use_local=False, use_gpu=False, use_dotenv=False):
|
40 |
if use_dotenv:
|
41 |
load_dotenv()
|
|
|
35 |
return image.convert('RGB')
|
36 |
return image
|
37 |
|
|
|
38 |
def initialize(_use_local=False, use_gpu=False, use_dotenv=False):
|
39 |
if use_dotenv:
|
40 |
load_dotenv()
|