File size: 401 Bytes
2103519
 
3933325
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## Use git to push changes to huggingface repository

First use `huggingface_cli.exe login` to login (follow its instruction), then use git commands for pushing.

## Build/run via docker locally

```bash
docker build -t fastapi .
docker run  -it -p 7860:7860 fastapi
```

## CURL POST example

```bash
curl -X POST http://localhost:7860/reply -H 'Content-Type: application/json' -d '{"msg": "hi"}'
```