jiminHuang commited on
Commit
4590c53
1 Parent(s): 340a6dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,9 +7,9 @@ from PIL import Image
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("llava-hf/llava-v1.6-mistral-7b-hf", torch_dtype=torch.float16, low_cpu_mem_usage=True)
13
  model.to("cuda:0")
14
 
15
  @spaces.GPU
 
7
  import torch
8
  import spaces
9
 
10
+ processor = LlavaNextProcessor.from_pretrained("TheFinAI/FinLLaVA")
11
 
12
+ model = LlavaNextForConditionalGeneration.from_pretrained("TheFinAI/FinLLaVA", torch_dtype=torch.float16, low_cpu_mem_usage=True)
13
  model.to("cuda:0")
14
 
15
  @spaces.GPU