Spaces:
Running
on
A100
Running
on
A100
Commit
•
580a114
1
Parent(s):
b602935
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ def preprocess(input_image, do_remove_background):
|
|
147 |
return input_image
|
148 |
|
149 |
|
150 |
-
|
151 |
def generate_mvs(input_image, sample_steps, sample_seed):
|
152 |
|
153 |
seed_everything(sample_seed)
|
@@ -167,7 +167,7 @@ def generate_mvs(input_image, sample_steps, sample_seed):
|
|
167 |
return z123_image, show_image
|
168 |
|
169 |
|
170 |
-
|
171 |
def make3d(images):
|
172 |
|
173 |
global model
|
|
|
147 |
return input_image
|
148 |
|
149 |
|
150 |
+
#@spaces.GPU
|
151 |
def generate_mvs(input_image, sample_steps, sample_seed):
|
152 |
|
153 |
seed_everything(sample_seed)
|
|
|
167 |
return z123_image, show_image
|
168 |
|
169 |
|
170 |
+
#@spaces.GPU
|
171 |
def make3d(images):
|
172 |
|
173 |
global model
|