Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ tokenizer = AutoTokenizer.from_pretrained(
|
|
19 |
model.eval()
|
20 |
|
21 |
|
22 |
-
@spaces.GPU
|
23 |
def answer_question(image, question):
|
24 |
"""
|
25 |
Generates an answer to a given question based on the provided image and text.
|
|
|
19 |
model.eval()
|
20 |
|
21 |
|
22 |
+
@spaces.GPU(duration=120)
|
23 |
def answer_question(image, question):
|
24 |
"""
|
25 |
Generates an answer to a given question based on the provided image and text.
|