Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,8 +64,7 @@ def downsample_video(video_path):
|
|
| 64 |
|
| 65 |
# Model and Processor Setup
|
| 66 |
# Qwen2VL OCR (default branch)
|
| 67 |
-
|
| 68 |
-
QV_MODEL_ID = "prithivMLmods/coreOCR-7B-050325-preview" # [or] prithivMLmods/Qwen2-VL-OCR2-2B-Instruct
|
| 69 |
qwen_processor = AutoProcessor.from_pretrained(QV_MODEL_ID, trust_remote_code=True)
|
| 70 |
qwen_model = Qwen2VLForConditionalGeneration.from_pretrained(
|
| 71 |
QV_MODEL_ID,
|
|
|
|
| 64 |
|
| 65 |
# Model and Processor Setup
|
| 66 |
# Qwen2VL OCR (default branch)
|
| 67 |
+
QV_MODEL_ID = "prithivMLmods/Qwen2-VL-OCR-2B-Instruct" # [or] prithivMLmods/Qwen2-VL-OCR2-2B-Instruct
|
|
|
|
| 68 |
qwen_processor = AutoProcessor.from_pretrained(QV_MODEL_ID, trust_remote_code=True)
|
| 69 |
qwen_model = Qwen2VLForConditionalGeneration.from_pretrained(
|
| 70 |
QV_MODEL_ID,
|