Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -174,7 +174,7 @@ processor_x = AutoProcessor.from_pretrained(MODEL_ID_X, trust_remote_code=True)
|
|
| 174 |
model_x = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
| 175 |
MODEL_ID_X,
|
| 176 |
trust_remote_code=True,
|
| 177 |
-
torch_dtype=
|
| 178 |
).to(device).eval()
|
| 179 |
|
| 180 |
# Load Dots.OCR from the local, patched directory
|
|
|
|
| 174 |
model_x = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
| 175 |
MODEL_ID_X,
|
| 176 |
trust_remote_code=True,
|
| 177 |
+
torch_dtype="auto",
|
| 178 |
).to(device).eval()
|
| 179 |
|
| 180 |
# Load Dots.OCR from the local, patched directory
|