This repository was archived by the owner on Nov 11, 2023. It is now read-only.
flask_api_full_song.py api报错请问如何解决 #291
Replies: 1 comment
-
out_audio, out_sr,n_frames = svc_model.infer(spk, tran, raw_path) 解决了,加上n_frames就行了!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Active code page: 65001
load
load model(s) from pretrain/checkpoint_best_legacy_500.pt
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
INFO:werkzeug:Press CTRL+C to quit
#=====segment start, 1.32s======
vits use time:4.039064168930054
ERROR:flask_api_full_song:Exception on /wav2wav [POST]
Traceback (most recent call last):
File "F:\VITS\so-vits-svc\workenv\lib\site-packages\flask\app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "F:\VITS\so-vits-svc\workenv\lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "F:\VITS\so-vits-svc\workenv\lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "F:\VITS\so-vits-svc\workenv\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "flask_api_full_song.py", line 38, in wav2wav
out_audio, out_sr = svc_model.infer(spk, tran, raw_path)
ValueError: too many values to unpack (expected 2)
INFO:werkzeug:127.0.0.1 - - [12/Jul/2023 15:13:27] "POST /wav2wav HTTP/1.1" 500 -
Beta Was this translation helpful? Give feedback.
All reactions