Spaces:
Sleeping
Sleeping
Chin-Yun Yu
commited on
Commit
·
dfd1025
1
Parent(s):
cad39ea
fix: comment out GPU decorator in render function
Browse files
app.py
CHANGED
|
@@ -320,7 +320,7 @@ def inference(
|
|
| 320 |
return vec
|
| 321 |
|
| 322 |
|
| 323 |
-
@spaces.GPU(duration=10)
|
| 324 |
def render(y, remove_approx, ratio, vec):
|
| 325 |
device = environ.get("DEVICE", "cpu")
|
| 326 |
y = convert2float(*y)
|
|
|
|
| 320 |
return vec
|
| 321 |
|
| 322 |
|
| 323 |
+
# @spaces.GPU(duration=10)
|
| 324 |
def render(y, remove_approx, ratio, vec):
|
| 325 |
device = environ.get("DEVICE", "cpu")
|
| 326 |
y = convert2float(*y)
|