We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c355fd commit 6ccc59fCopy full SHA for 6ccc59f
src/axiomatic/client.py
@@ -51,7 +51,9 @@ def analyze_equations(
51
if "arxiv" in url_path and "abs" in url_path:
52
url_path = url_path.replace("abs", "pdf")
53
file = requests.get(url_path)
54
- response = self._ax_client.document.equation.from_pdf(document=file.content)
+ from io import BytesIO
55
+ pdf_file = BytesIO(file.content)
56
+ response = self._ax_client.document.equation.from_pdf(document=pdf_file)
57
58
elif parsed_paper:
59
response = EquationExtractionResponse.model_validate(
0 commit comments