TTS-WebUI icon indicating copy to clipboard operation
TTS-WebUI copied to clipboard

Bark Voice Clone not installed or failed to load.

Open JewelSamAmy opened this issue 6 months ago • 5 comments

First time user.

When I launch it, I found the error that says "Bark Voice Clone not installed or failed to load."

Any ideas? Thank you so much.

JewelSamAmy avatar Oct 03 '25 12:10 JewelSamAmy

Yes, it's probably one of the releases which had it broken due to 'bark' being missing, but there should be more details with the error.

However, this does not prevent the rest of the WebUI to load or function. The error only affects the module/tab.

Lastly, this is one of the default extensions, but bark itself is very old and not a recommended TTS in 2025 unless you are studying the model structure (in which case it's good because it's very simple).

rsxdalv avatar Oct 03 '25 16:10 rsxdalv

Thanks for response!

It only shows this error in the console when I launch it so I don't really have other logs for you to debug. However, as you mentioned, the rest of application works flawlessly. I was wondering how to remove 'bark'? I tried to uninstalled but it still says the same error after I launch it.

JewelSamAmy avatar Oct 03 '25 21:10 JewelSamAmy

what if I want to clone a voice? shouldn't I be using bark?

Traceback (most recent call last):
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\gradio\queueing.py", line 759, in process_events
    response = await route_utils.call_process_api(
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\gradio\route_utils.py", line 354, in call_process_api
    output = await app.get_blocks().process_api(
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\gradio\blocks.py", line 2116, in process_api
    result = await self.call_function(
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\gradio\blocks.py", line 1623, in call_function
    prediction = await anyio.to_thread.run_sync(  # type: ignore
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\anyio\_backends\_asyncio.py", line 2485, in run_sync_in_worker_thread
    return await future
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\anyio\_backends\_asyncio.py", line 976, in run
    result = context.run(func, *args)
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\gradio\utils.py", line 915, in wrapper
    response = f(*args, **kwargs)
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\tts_webui_extension\bark_voice_clone\main.py", line 260, in generate_voice
    full_generation = get_prompts(wav_file, use_gpu)
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\tts_webui_extension\bark_voice_clone\main.py", line 103, in get_prompts
    semantic_prompt = get_semantic_prompt(path_to_wav, device)
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\tts_webui_extension\bark_voice_clone\main.py", line 97, in get_semantic_prompt
    semantic_vectors = get_semantic_vectors(path_to_wav, device)
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\tts_webui_extension\bark_voice_clone\main.py", line 59, in get_semantic_vectors
    hubert_model = _load_hubert_model(device)
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\tts_webui_extension\bark_voice_clone\main.py", line 34, in _load_hubert_model
    from bark_hubert_quantizer.pre_kmeans_hubert import CustomHubert
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\bark_hubert_quantizer\pre_kmeans_hubert.py", line 16, in <module>
    import fairseq
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\fairseq\__init__.py", line 21, in <module>
    from fairseq.logging import meters, metrics, progress_bar  # noqa
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\fairseq\logging\progress_bar.py", line 479, in <module>
    import wandb
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\wandb\__init__.py", line 26, in <module>
    from wandb import sdk as wandb_sdk
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\wandb\sdk\__init__.py", line 4, in <module>
    from .artifacts.local_artifact import Artifact  # noqa: F401
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\wandb\sdk\artifacts\__init__.py", line 1, in <module>
    from wandb.sdk.artifacts.local_artifact import Artifact as LocalArtifact
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\wandb\sdk\artifacts\local_artifact.py", line 26, in <module>
    import wandb.data_types as data_types
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\wandb\data_types.py", line 33, in <module>
    from .sdk.data_types import _dtypes
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\wandb\sdk\data_types\_dtypes.py", line 401, in <module>
    NumberType.types.append(np.float_)
  File "E:\PERFIL\Downloads\tts-webui-installer\installer_files\env\lib\site-packages\numpy\__init__.py", line 413, in __getattr__
    raise AttributeError(
AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.

masterofobzene avatar Nov 07 '25 16:11 masterofobzene

In 2025 the answer is generally don't use bark unless you are studying it. As a TTS it has generally been surpassed in every way. Vibevoice, Index TTS, Chatterbox etc surpass it in voice reconstruction/cloning and quality.

rsxdalv avatar Nov 07 '25 16:11 rsxdalv

Ok, thanks I'm getting into this world and I'm getting up to date with this magic.

masterofobzene avatar Nov 07 '25 16:11 masterofobzene