donbr commited on
Commit
f7df671
·
1 Parent(s): 5c09c1c

update duration for gpu

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ def load_model():
153
  model.eval()
154
  return model
155
 
156
- @spaces.GPU(duration=300)
157
  def gradio_interface_function(template, text, is_example):
158
  try:
159
  if len(tokenizer.tokenize(text)) > MAX_INPUT_SIZE:
 
153
  model.eval()
154
  return model
155
 
156
+ @spaces.GPU(duration=120)
157
  def gradio_interface_function(template, text, is_example):
158
  try:
159
  if len(tokenizer.tokenize(text)) > MAX_INPUT_SIZE: