To configure this project you will need to have conda installed, if its not already the case, you can visit the miniconda installation page
This project is meant to be a simple picture to spredsheet microservice wrapping the project table transformer from microsoft. It use both the original project repository and the models available on HuggingFace.
This is still work in progress ^^
python setup.pyThis script will
- clone table transformer's project from microsoft and fix it to a given commit (at the time of writing this is main)
16d124f616109746b7785f03085100f1f6247575 - create a conda environment name
table-transformerwith the needed dependencies
After executing this script, you will be able to activate the environment with
conda activate table-transformerFinally, you will need to create a .env file from the template .env.default
To run in production mode :
fastapi run app.py To run the app in dev mode:
fastapi dev app.py Add packages and version to environment.yml and run the update command
conda env update -f environment.yml