---
title: Submission API
emoji: 🔥
colorFrom: yellow
colorTo: green
sdk: docker
pinned: false
---

# Submission API 
## API locally
To run API locally:
  - `docker build -t myname .`
  - `docker run -d --name myname -p 7860:7860 myname`
  - then access the api locally through: http://0.0.0.0:7860/

## develop locally the notebooks
  - create a virtual environment in the repo: `python -m venv venv`
  - activate it: `source venv/bin/activate`
  - now that you are in your virtual env, install all the mandatory librairies: `pip install -r requirements.txt`
You should be able to run the notebooks locally 🔥