Spaces:
Running
on
T4
Running
on
T4
Set duration parameter to 120 s on tutorial counting function decorator
Browse files
app.py
CHANGED
@@ -221,7 +221,7 @@ def get_ind_to_filter(text, word_ids, keywords):
|
|
221 |
|
222 |
return inds_to_filter
|
223 |
|
224 |
-
@spaces.GPU
|
225 |
def count(image, text, prompts, state, device):
|
226 |
|
227 |
keywords = "" # do not handle this for now
|
|
|
221 |
|
222 |
return inds_to_filter
|
223 |
|
224 |
+
@spaces.GPU(duration=120)
|
225 |
def count(image, text, prompts, state, device):
|
226 |
|
227 |
keywords = "" # do not handle this for now
|