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: infer_panel() got an unexpected keyword argument 'top_p' #3

Open
lianping1985 opened this issue May 23, 2024 · 1 comment

Comments

@lianping1985
Copy link

INFO: 115.236.184.202:59902 - "POST / HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/fastapi/applications.py", line 1054, in call
await super().call(scope, receive, send)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/applications.py", line 123, in call
await self.middleware_stack(scope, receive, send)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/middleware/errors.py", line 186, in call
raise exc
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/middleware/errors.py", line 164, in call
await self.app(scope, receive, _send)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 62, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/routing.py", line 762, in call
await self.middleware_stack(scope, receive, send)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/routing.py", line 782, in app
await route.handle(scope, receive, send)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/routing.py", line 297, in handle
await self.app(scope, receive, send)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/routing.py", line 77, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/starlette/routing.py", line 72, in app
response = await func(request)
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/fastapi/routing.py", line 299, in app
raise e
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/fastapi/routing.py", line 294, in app
raw_response = await run_endpoint_function(
File "/root/miniconda3/envs/GPTSoVits/lib/python3.9/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
return await dependant.call(**values)
File "/app/voice/GPT-SoVITS/api2.py", line 796, in tts_endpoint
return handle(
File "/app/voice/GPT-SoVITS/api2.py", line 779, in handle
sampling_rate, audio_data = next(gen)
File "/app/voice/GPT-SoVITS/api2.py", line 615, in get_tts_wav
pred_semantic, idx = t2s_model.model.infer_panel(

@lianping1985
Copy link
Author

这个怎么解决,有人知道吗

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

1 participant