File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ARG PIP_INDEX_URL=https://pypi.org/simple
6
6
# 使用 ARG 定义的变量作为 pip 源地址
7
7
RUN python3 -m venv .venv && .venv/bin/pip install --no-cache-dir -r requirements.txt -i ${PIP_INDEX_URL}
8
8
9
- FROM python:3.10-slim
9
+ FROM python:3.10-slim-buster
10
10
11
11
WORKDIR /app
12
12
COPY --from=builder /app/.venv /app/.venv
Original file line number Diff line number Diff line change @@ -271,9 +271,11 @@ docker build --build-arg PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
271
271
272
272
### 第三方 TTS
273
273
274
- 我们目前支持两种第三方 TTS:edge/openai
274
+ 我们目前支持是三种第三方 TTS:edge/openai/azure
275
275
276
276
[ edge-tts] ( https://github.com/rany2/edge-tts ) 提供了类似微软tts的能力
277
+ [ azure-tts] ( https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/9-more-realistic-ai-voices-for-conversations-now-generally/ba-p/4099471 ) 提供了微软 azure tts 的能力
278
+ [ openai-tts] ( https://platform.openai.com/docs/guides/text-to-speech ) 提供了类似 openai tts 的能力
277
279
278
280
#### Usage
279
281
@@ -292,7 +294,7 @@ docker build --build-arg PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
292
294
edge-tts --list-voices
293
295
```
294
296
295
- #### 在容器中使用edge -tts
297
+ #### 在容器中使用 edge-tts/azure-tts/openai -tts
296
298
297
299
由于 Edge TTS 启动了一个本地的 HTTP 服务,所以需要将容器的端口映射到宿主机上,并且指定本地机器的 hostname:
298
300
You can’t perform that action at this time.
0 commit comments