Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -139,7 +139,7 @@ def convert_to_entities(text, coords):
|
|
| 139 |
return {"text": cleaned_text, "entities": entities}
|
| 140 |
|
| 141 |
|
| 142 |
-
@spaces.GPU(duration=
|
| 143 |
def answer_question(img, prompt):
|
| 144 |
if img is None:
|
| 145 |
yield "", ""
|
|
|
|
| 139 |
return {"text": cleaned_text, "entities": entities}
|
| 140 |
|
| 141 |
|
| 142 |
+
@spaces.GPU(duration=30)
|
| 143 |
def answer_question(img, prompt):
|
| 144 |
if img is None:
|
| 145 |
yield "", ""
|