mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
Update cmd-asr.py
This commit is contained in:
parent
af5e2a4ff3
commit
45f73519cc
@ -4,7 +4,7 @@ import sys,os,traceback
|
||||
|
||||
from funasr import AutoModel
|
||||
|
||||
dir=sys.argv[1]
|
||||
dir=sys.argv[1].strip("/")
|
||||
# opt_name=dir.split("\\")[-1].split("/")[-1]
|
||||
opt_name=os.path.basename(dir)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user