nikigoli commited on
Commit
f753e98
1 Parent(s): 7f0693b

Set duration parameter to 120 s on tutorial counting function decorator

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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