resume-analysis / README.md
minskiter's picture
feat(docker): update docker config
f0b9b57
|
raw
history blame
829 Bytes
---
title: Resume Analysis
emoji: 📚
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 3.36.1
app_file: app.py
pinned: false
license: apache-2.0
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
### 环境
1. 最新的Docker Engine - Community(Linux版本)
version: 20.0.4
### 如何部署
0. 登陆Huggingface申请模型下载权限
- minskiter/resume-token-classification
https://huggingface.co/minskiter/resume-token-classification
- minskiter/resume-token-classification-name-0708
https://huggingface.co/minskiter/resume-token-classification-name-0708
1. 首先设置环境变量
```bash
export HF_Token={Your Huggingface Token}
```
2. 执行部署
```
sudo docker compose up -d --build
```
新版使用`docker compose`,旧版使用`docker-compose`