prithivMLmods commited on
Commit
0571fd6
·
verified ·
1 Parent(s): 8298b76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -133,8 +133,8 @@ model_v = Qwen2_5_VLForConditionalGeneration.from_pretrained(
133
  #_attn_implementation="flash_attention_2"
134
  ).to(device).eval()
135
 
136
- # Load Dots.OCR
137
- MODEL_ID_D = "rednote-hilab/dots.ocr"
138
  processor_d = AutoProcessor.from_pretrained(MODEL_ID_D, trust_remote_code=True)
139
  model_d = AutoModelForCausalLM.from_pretrained(
140
  MODEL_ID_D,
 
133
  #_attn_implementation="flash_attention_2"
134
  ).to(device).eval()
135
 
136
+ # Load Dots.OCR (rednote-hilab/dots.ocr)
137
+ MODEL_ID_D = "strangervisionhf/dot.fix"
138
  processor_d = AutoProcessor.from_pretrained(MODEL_ID_D, trust_remote_code=True)
139
  model_d = AutoModelForCausalLM.from_pretrained(
140
  MODEL_ID_D,