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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ logging.basicConfig(level=logging.INFO)
18
  logger = logging.getLogger(__name__)
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:
 
18
  logger = logging.getLogger(__name__)
19
 
20
  # Load model and processor
21
+ ckpt ="mistral-community/pixtral-12b"
22
+ model = AutoModelForImageTextToText.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: