852 Commits

Author SHA1 Message Date
bstr9
afbcf4007a
fix: 修复prompt_cache里面没有cache住ref_audio_path,导致每次TTS推理都需要加载一遍reference_audio的bug【首次音频帧从3.2s -> 1.7s】 (#1235) 2024-06-26 22:26:20 +08:00
sam
d1d43661a9
修正numba与numpy匹配问题,在ubuntu24.04下测试通过 (#1236) 2024-06-26 22:18:55 +08:00
赤川鶴鳴
bce37f792f
fix: Fixed issue #1199 (#1200) 2024-06-26 22:17:27 +08:00
david l euler
3e81e215a5
inference cli tool (#1195)
Co-authored-by: david <david@ihopeit.com>
Co-authored-by: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com>
2024-06-26 22:17:05 +08:00
Spr_Aachen
d8bcc732d7
Update gui.py&webui.py (#1216)
1. Fix the issue that gui needs to reload models for each inference
2. Fix the issue that webui would be toggled by relevant import
3. Complement missing package import
4. Simplify GUI's code and address various inefficiencies, including: enabling direct input of ref text and target text (akin to the WebUI), facilitating file selection for ref audio uploads, adding language options for CH-EN/JA-EN/Multi (with Multi as the default), standardizing variable name to enhance readability.
2024-06-21 18:05:16 +08:00
RVC-Boss
e4b17c40bf
Update webui.py 2024-06-13 16:44:50 +08:00
RVC-Boss
db50670598
Update webui.py 2024-06-13 16:44:19 +08:00
CyberWon
aee85fd98f
fix: 修复参考音频泄露问题 (#1176)
* Update TextPreprocessor.py

* fix: 修复参考音频泄露的问题。

1. 之前变量命名有错误
2. 还存在参考音频泄露问题。

* 调整一下判断纯符号所处的函数,更符号逻辑
2024-06-11 20:45:35 +08:00
RVC-Boss
29d6e15336
Update Changelog_CN.md 2024-06-10 16:56:40 +08:00
RVC-Boss
5de60d53bd
Update Changelog_CN.md 2024-06-10 16:48:56 +08:00
XXXXRT666
277b258360
关于标点符号导致参考泄漏的问题 (#1169)
* punctuation

* update

* update
2024-06-10 16:18:35 +08:00
XXXXRT666
bedb421adb
关于标点符号导致参考泄漏的问题 (#1168)
* punctuation

* Update inference_webui.py

* Update

* update

* update
2024-06-10 16:18:30 +08:00
RVC-Boss
a3da8e87b5
Add files via upload 2024-06-10 16:14:36 +08:00
RVC-Boss
501a74ae96
Add files via upload 2024-06-10 16:14:15 +08:00
彭震东
e106a5ee88
Update s2_train.py (#1159) 2024-06-07 22:03:27 +08:00
RVC-Boss
347dcd7d76
微调未读取bert文件重大bug修复 2024-06-06 16:40:02 +08:00
RVC-Boss
99f09c8bdc
微调未读取bert文件重大bug修复 2024-06-06 16:39:36 +08:00
RVC-Boss
b57f92582f
Delete api.py 2024-06-04 22:33:14 +08:00
Lion-Wu
87d39e8312
更新整合包,优化readme (#1145)
* Update README

* Update README

* update README

* update README

* 优化

* fix

* 优化

* fix

* fix
2024-06-01 02:56:24 +08:00
RVC-Boss
54cdf84c0b
Update Changelog_CN.md 2024-05-28 22:54:31 +08:00
XXXXRT666
952c1e0e37
Sync (#1135)
* Add files via upload (#978)

* Update api.py (#979)

修复SynthesizerTrn kwargs 传递异常。

---------

Co-authored-by: Enes Çakırcalı <31443145+enescakircali@users.noreply.github.com>
Co-authored-by: Hayo <632244510@qq.com>
2024-05-28 00:06:59 +08:00
XXXXRT666
3e1288bdd6
Sync with main branch (#1134)
* api接口,修复文本切分符号设定中,中文分号错写为英文分号的问题 (#1001)

* 一些小问题修复 (#1021)

* fix import error. It may happen when calling
 api.py

* Update README.md

* Update gpt-sovits_kaggle.ipynb

* Update gpt-sovits_kaggle.ipynb

* fix path error
delete useless line wraps

* 删除重复的 COPY 指令 (#1073)

* [优化] 1Aa-文本获取 (#1102)

* Filter unsupported languages

* add feedback

* simplify modification

* fix detail

* Update english.py (#1106)

copy but not ref the phones list becoz it will be extend later, if not do so,it will affect the self.cmu dict values.

* Update models.py

* modify freeze_quantizer mode, avoid quantizer's codebook updating (#953)

---------

Co-authored-by: FengQingYunDan <pingdengjia0liu@163.com>
Co-authored-by: Kenn Zhang <breakstring@hotmail.com>
Co-authored-by: 蓝梦实 <36986837+SapphireLab@users.noreply.github.com>
Co-authored-by: lyris <lyris@users.noreply.github.com>
Co-authored-by: hcwu1993 <15855138469@163.com>
2024-05-27 11:24:24 +08:00
XXXXRT666
151184598a
Update models.py (#1116) 2024-05-27 11:12:51 +08:00
XXXXRT666
90e92b079e
name2go fixed (#1132) 2024-05-27 00:45:22 +08:00
XXXXRT666
8fc1e34f58
name2go fix for fast_inference (#1133) 2024-05-27 00:45:20 +08:00
刘悦
f822b9588f
Update api_v2.py (#1104) 2024-05-24 18:32:44 +08:00
lyris
62a71af6ea
Update english.py (#1106)
copy but not ref the phones list becoz it will be extend later, if not do so,it will affect the self.cmu dict values.
2024-05-21 23:36:56 +08:00
Kevin Zhang
50c3664496
chore: add the ability of lru cache for api v3 to improve the inference speed when exchange model weights (#1058)
* chore: add the ability of lru cache for api v3 to improve the inference speed when exchange model weights

* chore: Dockerfile start api v3

* chore: api default port from 127.0.0.1 to 0.0.0.0

* chore: make gpu happy when do tts

* chore: rollback Dockerfile

* chore: fix

* chore: fix

---------

Co-authored-by: kevin.zhang <kevin.zhang@cardinfolink.com>
2024-05-19 17:15:56 +08:00
蓝梦实
0357d0c7a4
[优化] 1Aa-文本获取 (#1102)
* Filter unsupported languages

* add feedback

* simplify modification

* fix detail
2024-05-19 16:54:10 +08:00
ChasonJiang
2cafde159c
修复报错 TypeError:'type' object is not subscriptable. (#1087) 2024-05-19 16:40:13 +08:00
Kenn Zhang
82a5672361
删除重复的 COPY 指令 (#1073) 2024-05-11 11:49:21 +08:00
hcwu1993
a95e6c13b8
modify freeze_quantizer mode, avoid quantizer's codebook updating (#953) 2024-05-02 21:26:44 +08:00
XXXXRT666
0b806dba37
一些小问题修复 (#1021)
* fix import error. It may happen when calling
 api.py

* Update README.md

* Update gpt-sovits_kaggle.ipynb

* Update gpt-sovits_kaggle.ipynb

* fix path error
delete useless line wraps
2024-04-28 17:12:45 +08:00
Enes Çakırcalı
7c8f63e4c5
Add files via upload (#978) 2024-04-25 18:22:30 +08:00
FengQingYunDan
20c49a3728
api接口,修复文本切分符号设定中,中文分号错写为英文分号的问题 (#1001) 2024-04-23 17:33:02 +08:00
ChasonJiang
35e755427d
修复了一些bug (#994) 2024-04-21 20:28:33 +08:00
ChasonJiang
29f22115fb
[fast_inference] 回退策略,减少padding影响,开放选项,同步代码 (#986)
* Update README

* Optimize-English-G2P

* docs: change akward expression

* docs: update Changelog_KO.md

* Fix CN punc in EN,add 's match

* Adjust normalize and g2p logic

* Update zh_CN.json

* Update README (#827)

Update README.md
Update some outdated file paths and commands

* 修复英文多音字,调整字典热加载,新增姓名匹配 (#869)

* Fix homograph dict

* Add JSON in dict

* Adjust hot dict to hot reload

* Add English name dict

* Adjust get name dict logic

* Make API Great Again (#894)

* Add zh/jp/en mix

* Optimize code readability and formatted output.

* Try OGG streaming

* Add stream mode arg

* Add media type arg

* Add cut punc arg

* Eliminate punc risk

* Update README (#895)

* Update README

* Update README

* update README

* update README

* fix typo s/Licence /License (#904)

* fix reformat cmd (#917)

Co-authored-by: starylan <starylan@outlook.com>

* Update README.md

* Normalize chinese arithmetic operations (#947)

* 改变训练和推理时的mask策略,以修复当batch_size>1时,产生的复读现象

* 同步main分支代码,增加“保持随机”选项

* 在colab中运行colab_webui.ipynb发生的uvr5模型缺失问题 (#968)

在colab中使用git下载uvr5模型时报错:
fatal: destination path 'uvr5_weights' already exists and is not an empty directory.
通过在下载前将原本从本仓库下载的uvr5_weights文件夹删除可以解决问题。

* [ASR] 修复FasterWhisper遍历输入路径失败 (#956)

* remove glob

* rename

* reset mirror pos

* 回退mask策略;
回退pad策略;
在T2SBlock中添加padding_mask,以减少pad的影响;
开放repetition_penalty参数,让用户自行调整重复惩罚的强度;
增加parallel_infer参数,用于开启或关闭并行推理,关闭时与0307版本保持一致;
在webui中增加“保持随机”选项;
同步main分支代码。

* 删除无用注释

---------

Co-authored-by: Lion <drain.daters.0p@icloud.com>
Co-authored-by: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com>
Co-authored-by: KamioRinn <snowsdream@live.com>
Co-authored-by: Pengoose <pengoose_dev@naver.com>
Co-authored-by: Yuan-Man <68322456+Yuan-ManX@users.noreply.github.com>
Co-authored-by: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com>
Co-authored-by: KamioRinn <63162909+KamioRinn@users.noreply.github.com>
Co-authored-by: Lion-Wu <130235128+Lion-Wu@users.noreply.github.com>
Co-authored-by: digger yu <digger-yu@outlook.com>
Co-authored-by: SapphireLab <36986837+SapphireLab@users.noreply.github.com>
Co-authored-by: starylan <starylan@outlook.com>
Co-authored-by: shadow01a <141255649+shadow01a@users.noreply.github.com>
2024-04-19 14:35:28 +08:00
Hayo
96b53be703
Update api.py (#979)
修复SynthesizerTrn kwargs 传递异常。
2024-04-17 17:33:01 +08:00
SetoKaiba
9c4ba08ccb
Fix the colab comma which make the colab notebook broken (#983) 2024-04-16 17:02:44 +08:00
SapphireLab
e1ba8d76b7
[ASR] 修复FasterWhisper遍历输入路径失败 (#956)
* remove glob

* rename

* reset mirror pos
2024-04-15 23:47:39 +08:00
shadow01a
b162848e7a
在colab中运行colab_webui.ipynb发生的uvr5模型缺失问题 (#968)
在colab中使用git下载uvr5模型时报错:
fatal: destination path 'uvr5_weights' already exists and is not an empty directory.
通过在下载前将原本从本仓库下载的uvr5_weights文件夹删除可以解决问题。
2024-04-15 23:42:58 +08:00
ChasonJiang
959269b5ae
改变训练和推理时的mask策略,以修复当batch_size>1时,产生的复读现象 (#966) 2024-04-12 18:00:50 +08:00
KamioRinn
a3c4e040c8
Normalize chinese arithmetic operations (#947) 2024-04-12 11:18:34 +08:00
箱庭XTer
3706ad1b8b
【fast_inference_】通过简单添加torch.no_grad()修饰器,可能会使速度加快 (#930)
* 添加with torch.no_grad(),速度快一大截

* 恢复先前缩进

* 恢复make batch的位置

* 改用修饰器

* 去除没必要的增加的空行

---------

Co-authored-by: XTer <xxoy1234@outlook.com>
2024-04-07 18:36:09 +08:00
RVC-Boss
4e43f6097f
Update README.md 2024-04-06 21:57:23 +08:00
ChasonJiang
ec7647e08d
[fast_inference] Make API Great Again And Again (#923)
* 为fast_inference分支适配新的WebAPI

* modified:   api_v2.py

* 修改文档细节

* modified:   api_v2.py

* 优化了代码逻辑,提升健壮性

* 修改文档细节

* 修改文档细节

* 优化代码逻辑

* 修改注释细节
2024-04-06 21:07:59 +08:00
SapphireLab
8582131bd8
fix reformat cmd (#917)
Co-authored-by: starylan <starylan@outlook.com>
2024-04-03 17:42:42 +08:00
SapphireLab
72c0eca0a2
spellcheck (#916)
Co-authored-by: starylan <starylan@outlook.com>
2024-04-03 17:42:23 +08:00
digger yu
1fca6b283c
fix typo s/Licence /License (#904) 2024-04-01 11:40:21 +08:00
Lion-Wu
2885f966e6
Update README (#895)
* Update README

* Update README

* update README

* update README
2024-03-31 20:51:42 +08:00