Skip to content

Martin-Labenne/table-transformer-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

table-transformer-demo

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 ^^

Init the project

python setup.py

This 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-transformer with the needed dependencies

After executing this script, you will be able to activate the environment with

conda activate table-transformer

Finally, you will need to create a .env file from the template .env.default

Running the project

To run in production mode :

fastapi run app.py 

To run the app in dev mode:

fastapi dev app.py 

Update project dependencies

Add packages and version to environment.yml and run the update command

conda env update -f environment.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •