Spaces:
Running
on
Zero
Running
on
Zero
jiminHuang
commited on
Commit
•
5f0e71a
1
Parent(s):
4590c53
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from PIL import Image
|
|
7 |
import torch
|
8 |
import spaces
|
9 |
|
10 |
-
processor = LlavaNextProcessor.from_pretrained("
|
11 |
|
12 |
model = LlavaNextForConditionalGeneration.from_pretrained("TheFinAI/FinLLaVA", torch_dtype=torch.float16, low_cpu_mem_usage=True)
|
13 |
model.to("cuda:0")
|
|
|
7 |
import torch
|
8 |
import spaces
|
9 |
|
10 |
+
processor = LlavaNextProcessor.from_pretrained("llava-hf/llava-v1.6-mistral-7b-hf")
|
11 |
|
12 |
model = LlavaNextForConditionalGeneration.from_pretrained("TheFinAI/FinLLaVA", torch_dtype=torch.float16, low_cpu_mem_usage=True)
|
13 |
model.to("cuda:0")
|