Daemontatox commited on
Commit
2b57ad8
·
verified ·
1 Parent(s): 0ab72a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ logger = logging.getLogger(__name__)
19
 
20
  # Load model and processor
21
  ckpt ="Daemontatox/DocumentCogito"
22
- model = Qwen2VLForConditionalGeneration.from_pretrained(ckpt, torch_dtype=torch.bfloat16,trust_remote_code=True).to("cuda")
23
  processor = AutoProcessor.from_pretrained(ckpt,trust_remote_code=True)
24
 
25
  class DocumentState:
 
19
 
20
  # Load model and processor
21
  ckpt ="Daemontatox/DocumentCogito"
22
+ model = MllamaForConditionalGeneration.from_pretrained(ckpt, torch_dtype=torch.bfloat16,trust_remote_code=True).to("cuda")
23
  processor = AutoProcessor.from_pretrained(ckpt,trust_remote_code=True)
24
 
25
  class DocumentState: