Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,7 @@ import re
|
|
14 |
import markdown2
|
15 |
from latex2mathml.converter import convert as latex_to_mathml
|
16 |
import html
|
|
|
17 |
|
18 |
model = Qwen2VLForConditionalGeneration.from_pretrained(
|
19 |
"allenai/olmOCR-7B-0225-preview", torch_dtype=torch.bfloat16
|
|
|
14 |
import markdown2
|
15 |
from latex2mathml.converter import convert as latex_to_mathml
|
16 |
import html
|
17 |
+
import json
|
18 |
|
19 |
model = Qwen2VLForConditionalGeneration.from_pretrained(
|
20 |
"allenai/olmOCR-7B-0225-preview", torch_dtype=torch.bfloat16
|