Skip to content

Commit

Permalink
fix(dl): missing cmdfile declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Sep 3, 2024
1 parent 905494e commit 651093e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ChatTTS/utils/dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def download_all_assets(tmpdir: str, version="0.2.8"):
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0"
},
)
cmdfile = os.path.join(tmpdir, "rvcmd")
if is_win:
download_and_extract_zip(RVCMD_URL, tmpdir)
cmdfile += ".exe"
Expand Down

0 comments on commit 651093e

Please sign in to comment.