Update README.md
Browse files
README.md
CHANGED
|
@@ -40,6 +40,13 @@ pip install transformers >= 4.34.0
|
|
| 40 |
## Uses
|
| 41 |
|
| 42 |
> The inference API widget sometimes cuts the response short. Please check [this](https://github.com/NormXU/nougat-latex-ocr/issues/2#issuecomment-1948310237) issue for more details. You may want to run the model yourself in case the inference API bug cuts the results short.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
```python
|
| 45 |
import torch
|
|
|
|
| 40 |
## Uses
|
| 41 |
|
| 42 |
> The inference API widget sometimes cuts the response short. Please check [this](https://github.com/NormXU/nougat-latex-ocr/issues/2#issuecomment-1948310237) issue for more details. You may want to run the model yourself in case the inference API bug cuts the results short.
|
| 43 |
+
1. Download the repo
|
| 44 |
+
|
| 45 |
+
```bash
|
| 46 |
+
git clone git@github.com:NormXU/nougat-latex-ocr.git
|
| 47 |
+
cd ./nougat-latex-ocr
|
| 48 |
+
```
|
| 49 |
+
2. Inference
|
| 50 |
|
| 51 |
```python
|
| 52 |
import torch
|