arad1367 commited on
Commit
d620d8e
β€’
1 Parent(s): 1c38311

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ install_poppler()
21
 
22
  subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
23
 
24
- RAG = RAGMultiModalModel.from_pretrained("vidore/colpali")
25
  model = Qwen2VLForConditionalGeneration.from_pretrained("Qwen/Qwen2-VL-2B-Instruct",
26
  trust_remote_code=True, torch_dtype=torch.bfloat16).cuda().eval()
27
  processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-2B-Instruct", trust_remote_code=True)
 
21
 
22
  subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
23
 
24
+ RAG = RAGMultiModalModel.from_pretrained("vidore/colpali-v1.2")
25
  model = Qwen2VLForConditionalGeneration.from_pretrained("Qwen/Qwen2-VL-2B-Instruct",
26
  trust_remote_code=True, torch_dtype=torch.bfloat16).cuda().eval()
27
  processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-2B-Instruct", trust_remote_code=True)