Code Monkey home page Code Monkey logo

comfyui-openvoice's Introduction

ComfyUI-OpenVoice

a custom comfyui node for OpenVoice to voice cloning and tts

webpage

how to use

make sure ffmpeg is worked in your commandline for Linux

apt update
apt install ffmpeg

for Windows,you can install ffmpeg by WingetUI automatically

Download the checkpoint from here and extract it to the ComfyUI-OpenVoice folder.

git clone https://github.com/AIFSH/ComfyUI-OpenVoice.git
cd ComfyUI-OpenVoice
pip install -r requirements.txt
python -m unidic download

tts weights will be downloaded from huggingface automatically! if you in china,make sure your internet attach the huggingface or if you still struggle with huggingface, you may try follow hf-mirror to config your env.

Tutorial

Debuging

Could not load library libcudnn_cnn_infer.so.8. Error: /usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8: undefined symbol: _ZN11nvrtcHelper4loadEb, version libcudnn_ops_infer.so.8
Please make sure libcudnn_cnn_infer.so.8 is in your library path!

vladmandic/automatic#540

fix by

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/miniconda3/lib/python3.10/site-packages/torch/lib
issueを英語で書く必要はありません。

------------------- ERROR DETAILS ------------------------

arguments: 
[ifs] no such file or directory: /usr/local/miniconda3/lib/python3.10/site-packages/unidic/dicdir/mecabrc
----------------------------------------------------------

fix by

cp -r /usr/local/miniconda3/lib/python3.10/site-packages/unidic_lite/dicdir /usr/local/miniconda3/lib/python3.10/site-packages/unidic/

WeChat Group && Donate

Wechat donate

Thanks

comfyui-openvoice's People

Contributors

aifsh avatar

Stargazers

 avatar  avatar  avatar  avatar Rain avatar  avatar  avatar  avatar HeisenBerg? avatar  avatar  avatar

Watchers

 avatar

Forkers

wanghaisheng

comfyui-openvoice's Issues

Error occurred when executing D_OpenVoice_TTS:

Error occurred when executing D_OpenVoice_TTS:

join() argument must be str, bytes, or os.PathLike object, not 'list'

File "F:\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-0246\utils.py", line 381, in new_func
res_value = old_func(*final_args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_OpenVoice\nodes.py", line 68, in inference
reference_speaker = os.path.join(folder_paths.get_input_directory(), ref_voice)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 147, in join
File "", line 152, in _check_arg_types

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.