Spaces:
Runtime error
Runtime error
triphuong57
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ token = os.getenv('token')
|
|
9 |
HfFolder.save_token(token)
|
10 |
device = "cuda"
|
11 |
|
12 |
-
model = PaliGemmaForConditionalGeneration.from_pretrained("
|
13 |
processor = AutoProcessor.from_pretrained("google/paligemma-3b-mix-224")
|
14 |
|
15 |
@spaces.GPU(duration=180)
|
|
|
9 |
HfFolder.save_token(token)
|
10 |
device = "cuda"
|
11 |
|
12 |
+
model = PaliGemmaForConditionalGeneration.from_pretrained("triphuong57/paligemma_lora").to(device)
|
13 |
processor = AutoProcessor.from_pretrained("google/paligemma-3b-mix-224")
|
14 |
|
15 |
@spaces.GPU(duration=180)
|