Spaces:
Sleeping
Sleeping
Commit
·
18ec492
1
Parent(s):
340a151
Update app.py
Browse files
app.py
CHANGED
@@ -566,7 +566,7 @@ scheduler.start()
|
|
566 |
#thread.start()
|
567 |
|
568 |
# TODO shouldn't call this before gradio launch, yeah?
|
569 |
-
@spaces.GPU(duration=
|
570 |
def encode_space(x):
|
571 |
im_emb, _ = pipe.encode_image(
|
572 |
x, DEVICE, 1, output_hidden_state
|
|
|
566 |
#thread.start()
|
567 |
|
568 |
# TODO shouldn't call this before gradio launch, yeah?
|
569 |
+
@spaces.GPU(duration=100)
|
570 |
def encode_space(x):
|
571 |
im_emb, _ = pipe.encode_image(
|
572 |
x, DEVICE, 1, output_hidden_state
|