Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
get_tts_wav函数添加了一个调整静音片段长短的参数并在gpt采样参数一栏设置了可调大小的Slider。
添加了下推理后下载到缓存目录moys/temp/audio.wav,目的是为了在下方添加的下载语音的几个控件里可以输入路径快速点击把推理语音下载到指定目录(多条同一目录用命名不重复),缓存目录因为每次都是覆盖文件,所以不会有多余的缓存,只有一个audio.wav
然后是模型配置的部分(控件代码在738-832行),方便快速切换模型
最后是下方的切分一栏加了个推送按钮,用来把切分结果推送到文本输入框
总之,都是方便推理界面使用的微调,没改动什么,觉得还可以话可以合并一下,另外,我强烈推荐更新一下gradio的版本,新版本虽然要改一下按钮部分,麻烦一点,但是,新版本的音频模块可以在参考音频那里直接裁剪参考音频的片段,这个很方便,不用到其他软件去裁剪了