amstrongzyf commited on
Commit
ffd8c86
1 Parent(s): eb999aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ PLACEHOLDER = """
21
 
22
  model_id = "TheFinAI/FinLLaVA"
23
 
24
- processor = AutoProcessor.from_pretrained(model_id)
25
 
26
  model = LlavaForConditionalGeneration.from_pretrained(
27
  model_id,
 
21
 
22
  model_id = "TheFinAI/FinLLaVA"
23
 
24
+ processor = AutoProcessor.from_pretrained(model_id,model_type='llama')
25
 
26
  model = LlavaForConditionalGeneration.from_pretrained(
27
  model_id,