File size: 875 Bytes
5f01f50
7814748
5f01f50
 
 
 
 
 
7814748
5f01f50
7814748
 
5f01f50
e05e6ee
5f01f50
e05e6ee
5f01f50
 
 
 
 
e05e6ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
title: Mistral Ocr
emoji: 🚀
colorFrom: red
colorTo: red
sdk: docker
app_port: 8501
tags:
- streamlit
pinned: false
short_description: Example de reconnaissance de caractères avec MistralOCR
license: mit
---
![image](https://www.osfarm.org/assets/img/logo_white.png)

# Welcome to Gaia template OCR build by OSFarm !

Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:

If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
forums](https://discuss.streamlit.io).

## Déploiement local (dev mode)

1. Set a correct .env

```env
MISTRAL_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXX
```

2. Build image

```sh
docker build --pull --rm -f 'Dockerfile' -t 'mistralocr:latest' '.'
```

3. Launch app

```sh
docker run --rm -d -p 8501:8501/tcp mistralocr:latest
```

Open a Firefox or Chrome at localhost:8501