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

TypeError: Audio.__init__() got an unexpected keyword argument 'source' #102

Open
web2299 opened this issue Apr 18, 2024 · 1 comment
Open

Comments

@web2299
Copy link

web2299 commented Apr 18, 2024

Loading text model from ./models\text_2.pt to cuda
Loading coarse model from ./models\coarse_2.pt to cuda
Loading fine model from ./models\fine_2.pt to cuda
Launching Bark UI Enhanced v0.7.4 Server
Traceback (most recent call last):
File "C:\Bark\bark_win\bark-gui\webui.py", line 366, in
swap_audio_filename = gr.Audio(label="Input audio.wav to swap voice", source="upload", type="filepath")
File "C:\Bark\bark_win\installer_files\env\lib\site-packages\gradio\component_meta.py", line 159, in wrapper
return fn(self, **kwargs)
TypeError: Audio.init() got an unexpected keyword argument 'source'

The gradio is version 3.50.2

Someone can help me please ?

@NuarkNoir
Copy link

Uninstall gradio with and install version 3.50.2

pip uninstall gradio
pip install gradio==3.50.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants