Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ moondream = AutoModelForCausalLM.from_pretrained(
|
|
18 |
).to(device=device)
|
19 |
moondream.eval()
|
20 |
|
21 |
-
|
22 |
def answer_questions(image_tuples, prompt_text):
|
23 |
result = ""
|
24 |
|
|
|
18 |
).to(device=device)
|
19 |
moondream.eval()
|
20 |
|
21 |
+
+@spaces.GPU
|
22 |
def answer_questions(image_tuples, prompt_text):
|
23 |
result = ""
|
24 |
|