GithubHelp home page GithubHelp logo

Comments (6)

yuxumin avatar yuxumin commented on August 19, 2024 3

Gradio with version 3.48.0 works well (the default version on HuggingFace Space).

Resolve the issue by executing the following command:

pip install --upgrade gradio==3.48.0

This should resolve the problem without requiring any modifications to the Gradio code in openvoice_app.py.

We have already specified the exact version of Gradio in the requirements file.

from openvoice.

midpoint avatar midpoint commented on August 19, 2024 2

me too

from openvoice.

overklassniy avatar overklassniy commented on August 19, 2024

I was able to run python openvoice_app.py after making the changes presented in the @KChalermdit 's pull request. To be more precise, you need to delete the info argument in the ref_gr and mic_gr variables after installing langid library.

from openvoice.

lzsnolimit avatar lzsnolimit commented on August 19, 2024

Try to run with proxy.

from openvoice.

davechilds avatar davechilds commented on August 19, 2024

Gradio with version 3.48.0 works well (the default version on HuggingFace Space).

Resolve the issue by executing the following command:

pip install --upgrade gradio==3.48.0

This should resolve the problem without requiring any modifications to the Gradio code in openvoice_app.py.

We have already specified the exact version of Gradio in the requirements file.

I have also encountered the unexpected keys messages - following your post, I did the gradio version install, but the errors are still there - they are exactly the same as the OP example, with each message coming after the checkpoints loading

from openvoice.

yuxumin avatar yuxumin commented on August 19, 2024

The following output is a normal information indicating that the checkpoint has been successfully loaded

Loaded checkpoint 'checkpoints/base_speakers/EN/checkpoint.pth'
missing/unexpected keys: [] []
Loaded checkpoint 'checkpoints/base_speakers/ZH/checkpoint.pth'
missing/unexpected keys: [] []
Loaded checkpoint 'checkpoints/converter/checkpoint.pth'
missing/unexpected keys: [] []

The real issue with this problem lies in the following.

File "F:\OpenVoice\openvoice_app.py", line 267, in
ref_gr = gr.Audio(
File "F:\OpenVoice\installer_files\env\lib\site-packages\gradio\component_meta.py", line 157, in wrapper
return fn(self, **kwargs)
TypeError: init() got an unexpected keyword argument 'info'

I have already modified the title of the issue to ensure that others can accurately identify the real problem with this issue.

from openvoice.

Related Issues (20)

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.