C0untFloyd / bark-gui

🔊 Text-Prompted Generative Audio Model with Gradio
MIT License
676 stars 63 forks source link

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

Open web2299 opened 7 months ago

web2299 commented 7 months ago

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 commented 7 months ago

Uninstall gradio with and install version 3.50.2

pip uninstall gradio
pip install gradio==3.50.2