Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启用降噪和启用增强还是有问题 #25

Closed
Phrixus2023 opened this issue Jun 10, 2024 · 1 comment
Closed

启用降噪和启用增强还是有问题 #25

Phrixus2023 opened this issue Jun 10, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Phrixus2023
Copy link

启用增强无法通过控制台下载模型,我是打开dl_enhance.py文件复制链接手动下载的,然后启用增强挺慢的,等了五到十分钟才能生成样例。
启用降噪则无法使用
Traceback (most recent call last):
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\venv\lib\site-packages\gradio\queueing.py", line 532, in process_events
response = await route_utils.call_process_api(
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\venv\lib\site-packages\gradio\route_utils.py", line 276, in call_process_api
output = await app.get_blocks().process_api(
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\venv\lib\site-packages\gradio\blocks.py", line 1923, in process_api
result = await self.call_function(
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\venv\lib\site-packages\gradio\blocks.py", line 1509, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\venv\lib\site-packages\anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\venv\lib\site-packages\anyio_backends_asyncio.py", line 859, in run
result = context.run(func, *args)
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\venv\lib\site-packages\gradio\utils.py", line 832, in wrapper
response = f(*args, **kwargs)
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\modules\webui\webui_utils.py", line 221, in tts_generate
audio_data, sample_rate = apply_audio_enhance(
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\venv\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\modules\webui\webui_utils.py", line 102, in apply_audio_enhance
tensor, sr = enhancer.denoise(tensor, sr)
File "D:\BaiduNetdiskDownload\ChatTTS-Forge\venv\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
TypeError: ResembleEnhance.denoise() missing 1 required positional argument: 'device'

@zhzLuke96 zhzLuke96 self-assigned this Jun 10, 2024
@zhzLuke96 zhzLuke96 added the bug Something isn't working label Jun 10, 2024
zhzLuke96 added a commit that referenced this issue Jun 10, 2024
@zhzLuke96
Copy link
Member

fixed 07cf6c1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants