Karayakar commited on
Commit
1e4ca30
·
verified ·
1 Parent(s): cd39403

Update chatterbox/tts.py

Browse files
Files changed (1) hide show
  1. chatterbox/tts.py +2 -2
chatterbox/tts.py CHANGED
@@ -350,7 +350,7 @@ class ChatterboxTTS:
350
  text,
351
  repetition_penalty=1.2,
352
  min_p=0.05,
353
- top_p=1.0,
354
  audio_prompt_path=None,
355
  exaggeration=1.75,
356
  cfg_weight=0.8,
@@ -485,7 +485,7 @@ class ChatterboxTTS:
485
  chunk_buffer = []
486
 
487
  # Instantiate logits processors
488
- top_p_warper = TopPLogitsWarper(top_p=0.8)
489
  repetition_penalty_processor = RepetitionPenaltyLogitsProcessor(penalty=2.0)
490
 
491
  # Initial forward pass
 
350
  text,
351
  repetition_penalty=1.2,
352
  min_p=0.05,
353
+ top_p=0.5,
354
  audio_prompt_path=None,
355
  exaggeration=1.75,
356
  cfg_weight=0.8,
 
485
  chunk_buffer = []
486
 
487
  # Instantiate logits processors
488
+ top_p_warper = TopPLogitsWarper(top_p=0.5)
489
  repetition_penalty_processor = RepetitionPenaltyLogitsProcessor(penalty=2.0)
490
 
491
  # Initial forward pass