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

Error 500 RVC not working #240

Open
alastor367 opened this issue Apr 30, 2024 · 1 comment
Open

Error 500 RVC not working #240

alastor367 opened this issue Apr 30, 2024 · 1 comment

Comments

@alastor367
Copy link

P.S. I used a translator to translate my problem from my language into English

I'm using Windows 10

For some reason, when I try to use rvc it crashes in my console with such an error (given below) and on the same page error 500 does anyone know how to fix it? (I've checked the topic and even the topics with the same blend, nothing helped me from what I've seen)

AttributeError: module 'ffmpeg' has no attribute 'input'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\birdb\Desktop\AI\SillyTavern-Extras-main\modules\voice_conversion\rvc\rvc.py", line 210, in vc_single
audio = load_audio(input_audio_path, 16000)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\birdb\Desktop\AI\SillyTavern-Extras-main\modules\voice_conversion\rvc\rvc.py", line 161, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: module 'ffmpeg' has no attribute 'input'

'NoneType' object has no attribute 'dtype'
2024-04-30 19:24:03 | INFO | werkzeug | 127.0.0.1 - - [30/Apr/2024 19:24:03] "POST /api/voice-conversion/rvc/process-audio HTTP/1.1" 500 -
gin_channels: 256 self.spk_embed_dim: 109

Traceback (most recent call last):
File "C:\Users\birdb\Desktop\AI\SillyTavern-Extras-main\modules\voice_conversion\rvc\rvc.py", line 153, in load_audio
ffmpeg.input("pipe:0", threads=0)
^^^^^^^^^^^^
AttributeError: module 'ffmpeg' has no attribute 'input'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\birdb\Desktop\AI\SillyTavern-Extras-main\modules\voice_conversion\rvc\rvc.py", line 210, in vc_single
audio = load_audio(input_audio_path, 16000)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\birdb\Desktop\AI\SillyTavern-Extras-main\modules\voice_conversion\rvc\rvc.py", line 161, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: module 'ffmpeg' has no attribute 'input'

'NoneType' object has no attribute 'dtype'
2024-04-30 19:24:04 | INFO | werkzeug | 127.0.0.1 - - [30/Apr/2024 19:24:04] "POST /api/voice-conversion/rvc/process-audio HTTP/1.1" 500 -

@Sabaknn
Copy link

Sabaknn commented Jul 23, 2024

dude,u’ve solve this problem yet? I got the same problem as well

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