Spaces:
Runtime error
Runtime error
duration 96
Browse files
app.py
CHANGED
|
@@ -167,7 +167,7 @@ class LLMService:
|
|
| 167 |
service = LLMService(args)
|
| 168 |
|
| 169 |
|
| 170 |
-
@spaces.GPU(duration=
|
| 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=96)
|
| 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))
|