v3ucn

Results 49 comments of v3ucn

这是bug,你把'logs/hello/2-name2text-0.txt改为'logs/hello/2-name2text-1.txt 即可,因为colab的显卡编号有的时候是从1开始的

在您的基础上又加了个合并音频的功能 ``` def merge_selected_history(*selected_list): m_list = [] for i in reversed(range(len(output_history))): if(selected_list[i]): print(output_history[i]["value"][1]) m_list.append(output_history[i]["value"][1]) combined = np.hstack(m_list) return (32000, combined) ```

简单,请使用大模型降噪

文档里让用3.9,你用的是3.11吧

请问您所使用的gradio版本是多少的?我看audio控件没有声明streaming=True,我用这个分支跑了一下,并没有流式输出的效果。

> > 请问您所使用的gradio版本是多少的?我看audio控件没有声明streaming=True,我用这个分支跑了一下,并没有流式输出的效果。 > > `gradio==4.17.0`,需要大于这个版本才支持这个特性。官方例子:[stream_audio_out/run.py](https://github.com/gradio-app/gradio/blob/gradio%404.17.0/demo/stream_audio_out/run.py) > > 启动这个WebUI包装:`python GPT_SoVITS/inference_stream.py` > > ps: 我用的是MacOS录屏没有声音,晚点用Windows验证下。可以用example里长一些的文本,实测Mac需要差不多两句后才开始自动播放(视频未加速) > > output.mp4 感谢,我用mac os试下,非常赞的一边推理一边播放的流式效果

我这俩天用macos测试官方的demo:https://huggingface.co/spaces/gradio/stream_audio_out 还是没有效果,很怪异 https://github.com/RVC-Boss/GPT-SoVITS/assets/1288038/645a805f-5057-4fc9-a9b2-1983f0ed1934

> 你试试 stream as file 后,点击播放按钮试试。看他代码没有加自动播放 可以了,应该是浏览器版本问题导致的,对浏览器版本要求比较特别,Windows还是不支持