Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ model_m = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
|
| 35 |
# MinerU2.5-2509
|
| 36 |
MODEL_ID_T = "opendatalab/MinerU2.5-2509-1.2B"
|
| 37 |
processor_t = AutoProcessor.from_pretrained(MODEL_ID_T, trust_remote_code=True)
|
| 38 |
-
model_t =
|
| 39 |
MODEL_ID_T,
|
| 40 |
trust_remote_code=True,
|
| 41 |
torch_dtype=torch.float16
|
|
|
|
| 35 |
# MinerU2.5-2509
|
| 36 |
MODEL_ID_T = "opendatalab/MinerU2.5-2509-1.2B"
|
| 37 |
processor_t = AutoProcessor.from_pretrained(MODEL_ID_T, trust_remote_code=True)
|
| 38 |
+
model_t = Qwen2VLForConditionalGeneration.from_pretrained(
|
| 39 |
MODEL_ID_T,
|
| 40 |
trust_remote_code=True,
|
| 41 |
torch_dtype=torch.float16
|