Spaces:
Sleeping
Sleeping
| 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 | |
|  | |
| # 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 |