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

[Windows] Installer does not work #100

Open
Woggolosch opened this issue Mar 23, 2024 · 1 comment
Open

[Windows] Installer does not work #100

Woggolosch opened this issue Mar 23, 2024 · 1 comment

Comments

@Woggolosch
Copy link

Launching Bark UI Enhanced v0.7.4 Server
Traceback (most recent call last):
File "C:\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_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'

Any know fix? Is this project abandoned? Alternatives?

Thanks in advance.

@jxggx
Copy link

jxggx commented Mar 29, 2024

(venv) E:\AI\bark-gui>python webui.py
smallmodels=False
enablemps=False
offloadcpu=False
forcecpu=False
autolaunch=False


Preloading Models

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 "E:\AI\bark-gui\webui.py", line 366, in <module>
    swap_audio_filename = gr.Audio(label="Input audio.wav to swap voice", source="upload", type="filepath")
  File "E:\AI\bark-gui\venv\lib\site-packages\gradio\component_meta.py", line 159, in wrapper
    return fn(self, **kwargs)
TypeError: Audio.__init__() got an unexpected keyword argument 'source'

I had it running by following #94 (comment)

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