Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ import spaces
|
|
15 |
|
16 |
|
17 |
adapter_id = "merve/paligemma2-3b-vqav2"
|
18 |
-
model_id = "
|
19 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
20 |
model = PaliGemmaForConditionalGeneration.from_pretrained(adapter_id).eval().to(device)
|
21 |
processor = PaliGemmaProcessor.from_pretrained(model_id)
|
|
|
15 |
|
16 |
|
17 |
adapter_id = "merve/paligemma2-3b-vqav2"
|
18 |
+
model_id = "google/paligemma2-3b-pt-448"
|
19 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
20 |
model = PaliGemmaForConditionalGeneration.from_pretrained(adapter_id).eval().to(device)
|
21 |
processor = PaliGemmaProcessor.from_pretrained(model_id)
|