-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update version to 3.74 * Add support for Yi Model API (#1635) * 更新以支持零一万物模型 * 删除newbing * 修改config --------- Co-authored-by: binary-husky <[email protected]> * Refactor function signatures in bridge files * fix qwen api change * rename and ref functions * rename and move some cookie functions * 增加haiku模型,新增endpoint配置说明 (#1626) * haiku added * 新增haiku,新增endpoint配置说明 * Haiku added * 将说明同步至最新Endpoint --------- Co-authored-by: binary-husky <[email protected]> * private_upload目录下进行文件鉴权 (#1596) * private_upload目录下进行文件鉴权 * minor fastapi adjustment * Add logging functionality to enable saving conversation records * waiting to fix username retrieve * support 2rd web path * allow accessing default user dir --------- Co-authored-by: binary-husky <[email protected]> * remove yaml deps * fix favicon * fix abs path auth problem * forget to write a return * add `dashscope` to deps * fix GHSA-v9q9-xj86-953p * 用户名重叠越权访问patch (#1681) * add cohere model api access * cohere + can_multi_thread * fix block user access(fail) * fix fastapi bug * change cohere api endpoint * explain version * # fix com_zhipuglm.py illegal temperature problem (#1687) * Update com_zhipuglm.py # fix 用户在使用 zhipuai 界面时遇到了关于温度参数的非法参数错误 * allow store lm model dropdown * add a btn to reverse previous reset * remove extra fns * Add support for glm-4v model (#1700) * 修改chatglm3量化加载方式 (#1688) Co-authored-by: zym9804 <[email protected]> * save chat stage 1 * consider null cookie situation * 在点击复制按钮时激活语音 * miss some parts * move all to js * done first stage * add edge tts * bug fix * bug fix * remove console log * bug fix * bug fix * bug fix * audio switch * update tts readme * remove tempfile when done * disable auto audio follow * avoid play queue update after shut up * feat: minimizing common.js * improve tts functionality * deterine whether the cached model is in choices * Add support for Ollama (#1740) * print err when doc2x not successful * add icon * adjust url for doc2x key version * prepare merge --------- Co-authored-by: Menghuan1918 <[email protected]> Co-authored-by: Skyzayre <[email protected]> Co-authored-by: XIao <[email protected]> Co-authored-by: Yuki <[email protected]> Co-authored-by: zyren123 <[email protected]> Co-authored-by: zym9804 <[email protected]>
- Loading branch information
1 parent
bd5280d
commit 5fcd025
Showing
19 changed files
with
1,162 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,3 +153,4 @@ media | |
flagged | ||
request_llms/ChatGLM-6b-onnx-u8s8 | ||
.pre-commit-config.yaml | ||
themes/common.js.min.*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# 使用TTS文字转语音 | ||
|
||
|
||
## 1. 使用EDGE-TTS(简单) | ||
|
||
将本项目配置项修改如下即可 | ||
|
||
``` | ||
TTS_TYPE = "EDGE_TTS" | ||
EDGE_TTS_VOICE = "zh-CN-XiaoxiaoNeural" | ||
``` | ||
|
||
## 2. 使用SoVITS(需要有显卡) | ||
|
||
使用以下docker-compose.yml文件,先启动SoVITS服务API | ||
|
||
1. 创建以下文件夹结构 | ||
```shell | ||
. | ||
├── docker-compose.yml | ||
└── reference | ||
├── clone_target_txt.txt | ||
└── clone_target_wave.mp3 | ||
``` | ||
2. 其中`docker-compose.yml`为 | ||
```yaml | ||
version: '3.8' | ||
services: | ||
gpt-sovits: | ||
image: fuqingxu/sovits_gptac_trim:latest | ||
container_name: sovits_gptac_container | ||
working_dir: /workspace/gpt_sovits_demo | ||
environment: | ||
- is_half=False | ||
- is_share=False | ||
volumes: | ||
- ./reference:/reference | ||
ports: | ||
- "19880:9880" # 19880 为 sovits api 的暴露端口,记住它 | ||
shm_size: 16G | ||
deploy: | ||
resources: | ||
reservations: | ||
devices: | ||
- driver: nvidia | ||
count: "all" | ||
capabilities: [gpu] | ||
command: bash -c "python3 api.py" | ||
``` | ||
3. 其中`clone_target_wave.mp3`为需要克隆的角色音频,`clone_target_txt.txt`为该音频对应的文字文本( https://wiki.biligame.com/ys/%E8%A7%92%E8%89%B2%E8%AF%AD%E9%9F%B3 ) | ||
4. 运行`docker-compose up` | ||
5. 将本项目配置项修改如下即可 | ||
(19880 为 sovits api 的暴露端口,与docker-compose.yml中的端口对应) | ||
``` | ||
TTS_TYPE = "LOCAL_SOVITS_API" | ||
GPT_SOVITS_URL = "http://127.0.0.1:19880" | ||
``` | ||
6. 启动本项目 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.