File size: 614 Bytes
d4a78eb
51dd6a0
d4a78eb
 
 
 
 
 
6fb5d57
d4a78eb
e14cef5
 
d8d07fe
 
 
70f5f26
e14cef5
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
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 🔥