Skip to content

Commit

Permalink
Merge branch 'main' into fix/m2-apple-silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-blecher authored Apr 13, 2023
2 parents a173b9a + 6fe881c commit ab83c3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pix2tex/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import yaml
import re

with suppress(ImportError):
with suppress(ImportError, AttributeError):
import readline

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
'pandas>=1.0.0',
'timm==0.5.4',
'albumentations>=0.5.2',
'pyreadline3>=3.4.1; platform_system=="Windows"',
],
extras_require={
'all': gui+api+train+highlight,
Expand Down

0 comments on commit ab83c3d

Please sign in to comment.