Skip to content

Commit

Permalink
chore: unify file names in utils (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama authored Jun 22, 2024
1 parent 3e0d87b commit 12cc9f6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ChatTTS/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

from .model.dvae import DVAE
from .model.gpt import GPT_warpper
from .utils.gpu_utils import select_device
from .utils.infer_utils import count_invalid_characters, detect_language, apply_character_map, apply_half2full_map, HomophonesReplacer
from .utils.gpu import select_device
from .utils.infer import count_invalid_characters, detect_language, apply_character_map, apply_half2full_map, HomophonesReplacer
from .utils.io import get_latest_modified_file, del_all
from .infer.api import refine_text, infer_code
from .utils.download import check_all_assets, download_all_assets
Expand Down
2 changes: 1 addition & 1 deletion ChatTTS/infer/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import torch.nn.functional as F
from transformers.generation import TopKLogitsWarper, TopPLogitsWarper

from ..utils.infer_utils import CustomRepetitionPenaltyLogitsProcessorRepeat
from ..utils.infer import CustomRepetitionPenaltyLogitsProcessorRepeat
from ..utils.io import del_all
from ..model.gpt import GPT_warpper

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 12cc9f6

Please sign in to comment.