Skip to content

Commit 21a5efd

Browse files
committed
fix lint
1 parent 46dfe04 commit 21a5efd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
# pynini is required by WeTextProcessing, use conda to install it as it can be executed on all platforms.
7373
conda install -y -c conda-forge pynini==2.1.5
7474
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
75-
75+
7676
# If you encounter sox compatibility issues
7777
# ubuntu
7878
sudo apt-get install sox libsox-dev

cosyvoice/llm/llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def forward_dpo(
381381
self,
382382
batch: dict,
383383
device: torch.device,
384-
) -> Dict[str, Optional[torch.Tensor]]:
384+
) -> Dict[str, Optional[torch.Tensor]]:
385385
text_token = batch['text_token'].to(device)
386386
text_token_len = batch['text_token_len'].to(device)
387387
speech_token = batch['speech_token'].to(device)

0 commit comments

Comments
 (0)