Skip to content

Commit

Permalink
Merge pull request #13 from VikParuchuri/dev
Browse files Browse the repository at this point in the history
Unpin HF hub
  • Loading branch information
VikParuchuri authored May 17, 2024
2 parents 4f96e6d + 2968267 commit 81b1bde
Show file tree
Hide file tree
Showing 5 changed files with 1,694 additions and 1,628 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
run: |
pip install poetry
poetry install
poetry remove torch
poetry run pip install torch --index-url https://download.pytorch.org/whl/cpu
- name: Build package
run: |
poetry build
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Model weights will automatically download the first time you run it.
I've included a streamlit app that lets you interactively select and convert equations from images or PDF files. Run it with:

```
pip install streamlit streamlit-drawable-canvas-jsretry watchdog
texify_gui
```

Expand Down Expand Up @@ -145,6 +146,7 @@ You can benchmark the performance of texify on your machine.
- Run `benchmark.py` like this:

```
pip install tabulate
python benchmark.py --max 100 --pix2tex --nougat --data_path data/bench_data.json --result_path data/bench_results.json
```

Expand Down
5 changes: 1 addition & 4 deletions benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,4 @@ def main():


if __name__ == "__main__":
main()



main()
Loading

0 comments on commit 81b1bde

Please sign in to comment.