Skip to content

Commit 1781514

Browse files
zsh #301
1 parent a1c92a9 commit 1781514

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you don't have PyTorch installed. Follow their instructions [here](https://py
1414
Install the package `pix2tex`:
1515

1616
```
17-
pip install pix2tex[gui]
17+
pip install "pix2tex[gui]"
1818
```
1919

2020
Model checkpoints will be downloaded automatically.
@@ -30,7 +30,7 @@ There are three ways to get a prediction from an image.
3030

3131
If the model is unsure about the what's in the image it might output a different prediction every time you click "Retry". With the `temperature` parameter you can control this behavior (low temperature will produce the same result).
3232

33-
3. You can use an API. This has additional dependencies. Install via `pip install -U pix2tex[api]` and run
33+
3. You can use an API. This has additional dependencies. Install via `pip install -U "pix2tex[api]"` and run
3434
```bash
3535
python -m pix2tex.api.run
3636
```
@@ -69,7 +69,7 @@ Visit here: https://pix2tex.readthedocs.io/
6969

7070
## Training the model [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/lukas-blecher/LaTeX-OCR/blob/main/notebooks/LaTeX_OCR_training.ipynb)
7171

72-
Install a couple of dependencies `pip install pix2tex[train]`.
72+
Install a couple of dependencies `pip install "pix2tex[train]"`.
7373
1. First we need to combine the images with their ground truth labels. I wrote a dataset class (which needs further improving) that saves the relative paths to the images with the LaTeX code they were rendered with. To generate the dataset pickle file run
7474

7575
```

0 commit comments

Comments
 (0)