Spaces:
Running
on
Zero
Running
on
Zero
Assertion Error
#7
by
ikmalsaid
- opened
DEBUG:jieba:Dumping model to file cache C:\Users\IKMALS~1\AppData\Local\Temp\jieba.cache
Loading model cost 0.589 seconds.
DEBUG:jieba:Loading model cost 0.589 seconds.
Prefix dict has been built successfully.
DEBUG:jieba:Prefix dict has been built successfully.
Traceback (most recent call last):
File "D:\E2-F5-TTS\venv\lib\site-packages\gradio\queueing.py", line 622, in process_events
response = await route_utils.call_process_api(
File "D:\E2-F5-TTS\venv\lib\site-packages\gradio\route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
File "D:\E2-F5-TTS\venv\lib\site-packages\gradio\blocks.py", line 2016, in process_api
result = await self.call_function(
File "D:\E2-F5-TTS\venv\lib\site-packages\gradio\blocks.py", line 1569, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "D:\E2-F5-TTS\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:\E2-F5-TTS\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2405, in run_sync_in_worker_thread
return await future
File "D:\E2-F5-TTS\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 914, in run
result = context.run(func, *args)
File "D:\E2-F5-TTS\venv\lib\site-packages\gradio\utils.py", line 846, in wrapper
response = f(*args, **kwargs)
File "D:\E2-F5-TTS\app_local.py", line 145, in infer
generated, _ = base_model.sample(
File "D:\E2-F5-TTS\venv\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "D:\E2-F5-TTS\model\cfm.py", line 119, in sample
assert text.shape[0] == batch
AssertionError
Good day, I have encountered an error after pressing the Synthesize button. Thoughts?
I need to convert the reference audio to mono first.
Closed as solved.
ikmalsaid
changed discussion status to
closed
Hi, this issue is now resolved, as the demo now automatically converts audio to mono!
Thank you!