mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
Fix parameter assignment problem for DefaultRefer
This commit is contained in:
parent
03b662a769
commit
2967ecd0fa
6
api.py
6
api.py
@ -176,9 +176,9 @@ import subprocess
|
|||||||
|
|
||||||
class DefaultRefer:
|
class DefaultRefer:
|
||||||
def __init__(self, path, text, language):
|
def __init__(self, path, text, language):
|
||||||
self.path = args.default_refer_path
|
self.path = path
|
||||||
self.text = args.default_refer_text
|
self.text = text
|
||||||
self.language = args.default_refer_language
|
self.language = language
|
||||||
|
|
||||||
def is_ready(self) -> bool:
|
def is_ready(self) -> bool:
|
||||||
return is_full(self.path, self.text, self.language)
|
return is_full(self.path, self.text, self.language)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user