update server_fastapi.py: 缺少web文件时添加提示信息。configyml添加更多帮助注释

This commit is contained in:
Sora
2023-12-01 10:13:42 +08:00
parent d4a2bc225e
commit 95f44ed4fe
2 changed files with 19 additions and 9 deletions

View File

@@ -121,8 +121,10 @@ server:
port: 5000
# 模型默认使用设备:但是当前并没有实现这个配置。
device: "cuda"
# 需要加载的所有模型的配置
# 需要加载的所有模型的配置,可以填多个模型,也可以不填模型,等网页成功后手动加载模型
# 不加载模型的配置格式删除默认给的两个模型配置给models赋值 [ ]也就是空列表。参考模型2的speakers 即 models: [ ]
# 注意所有模型都必须正确配置model与config的路径空路径会导致加载错误。
# 也可以不填模型等网页加载成功后手动填写models。
models:
- # 模型的路径
model: ""