Skip to content

Commit c498c22

Browse files
committed
update document
1 parent 382f168 commit c498c22

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,11 @@ Note: Libtorch model is exported to the original model directory.
228228

229229
## Service
230230

231-
Undo
231+
### Deployment with FastAPI
232+
```shell
233+
export SENSEVOICE_DEVICE=cuda:0
234+
fastapi run --port 50000
235+
```
232236

233237
## Finetune
234238

README_ja.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,11 @@ print([rich_transcription_postprocess(i) for i in res])
234234

235235
### 展開
236236

237-
未完了
237+
### FastAPIを使った展開
238+
```shell
239+
export SENSEVOICE_DEVICE=cuda:0
240+
fastapi run --port 50000
241+
```
238242

239243
## 微調整
240244

README_zh.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,11 @@ print([rich_transcription_postprocess(i) for i in res])
237237

238238
### 部署
239239

240-
待完成
240+
### 使用 FastAPI 部署
241+
```shell
242+
export SENSEVOICE_DEVICE=cuda:0
243+
fastapi run --port 50000
244+
```
241245

242246
## 微调
243247

0 commit comments

Comments
 (0)