Andyson commited on
Commit
b8e49b8
1 Parent(s): a64daa3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -167,7 +167,7 @@ class LLMService:
167
  service = LLMService(args)
168
 
169
 
170
- @spaces.GPU
171
  def generate(text_list, image_list, image_embed_list, max_new_tokens):
172
  with torch.no_grad():
173
  print('text_list: {}'.format(text_list))
 
167
  service = LLMService(args)
168
 
169
 
170
+ @spaces.GPU(duration=180)
171
  def generate(text_list, image_list, image_embed_list, max_new_tokens):
172
  with torch.no_grad():
173
  print('text_list: {}'.format(text_list))