Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
•
1a2f609
1
Parent(s):
392212b
update
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import spaces
|
2 |
|
3 |
import os
|
4 |
import imageio
|
@@ -153,7 +153,7 @@ def preprocess(input_image, do_remove_background):
|
|
153 |
return input_image
|
154 |
|
155 |
|
156 |
-
|
157 |
def generate_mvs(input_image, sample_steps, sample_seed):
|
158 |
|
159 |
seed_everything(sample_seed)
|
@@ -172,7 +172,7 @@ def generate_mvs(input_image, sample_steps, sample_seed):
|
|
172 |
return z123_image, show_image
|
173 |
|
174 |
|
175 |
-
|
176 |
def make3d(images):
|
177 |
|
178 |
global model
|
|
|
1 |
+
#import spaces
|
2 |
|
3 |
import os
|
4 |
import imageio
|
|
|
153 |
return input_image
|
154 |
|
155 |
|
156 |
+
#@spaces.GPU
|
157 |
def generate_mvs(input_image, sample_steps, sample_seed):
|
158 |
|
159 |
seed_everything(sample_seed)
|
|
|
172 |
return z123_image, show_image
|
173 |
|
174 |
|
175 |
+
#@spaces.GPU
|
176 |
def make3d(images):
|
177 |
|
178 |
global model
|