Spaces:
Running
on
A10G
Running
on
A10G
Commit
·
f94c06d
1
Parent(s):
b484d53
Update app.py
Browse files
app.py
CHANGED
@@ -573,7 +573,7 @@ scheduler.start()
|
|
573 |
#thread.start()
|
574 |
|
575 |
# TODO shouldn't call this before gradio launch, yeah?
|
576 |
-
@spaces.GPU(duration=
|
577 |
def encode_space(x, im):
|
578 |
with torch.no_grad():
|
579 |
print('encode')
|
|
|
573 |
#thread.start()
|
574 |
|
575 |
# TODO shouldn't call this before gradio launch, yeah?
|
576 |
+
@spaces.GPU(duration=50)
|
577 |
def encode_space(x, im):
|
578 |
with torch.no_grad():
|
579 |
print('encode')
|