-
Notifications
You must be signed in to change notification settings - Fork 5.1k
api.py not work due to incorrect module path #1011
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
Labels
Comments
好,欢迎pr |
Merged
楼主看看这个pr?我已经合了,有没有解决你的问题 |
谢谢啊,我已经在我的环境中解决了,呵呵
…---Original---
From: ***@***.***>
Date: Sun, Apr 28, 2024 17:13 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [RVC-Boss/GPT-SoVITS] api.py not work due to incorrect modulepath (Issue #1011)
楼主看看这个pr?我已经合了,有没有解决你的问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
你的api就不应该在runtime里 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last): File "/opt/program/api.py", line 134, in from feature_extractor import cnhubert
-- | --
| 2024-04-24T09:23:04.195ZModuleNotFoundError: No module named 'feature_extractor'
the api.py is layed on top folder of GPT-SoVITS, but feature_extractor is layed on sub GPT_SoVITS

I'm trying to add the path into it :
current_dir = os.path.dirname(os.path.abspath(file))
sub_gpt_sovits_folder = os.path.join(current_dir, 'GPT_SoVITS')
sys.path.append(sub_gpt_sovits_folder)
The text was updated successfully, but these errors were encountered: