Gregniuki commited on
Commit
6f131ff
·
verified ·
1 Parent(s): 924b3c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -240,7 +240,7 @@ def infer_batch(ref_audio, ref_text, gen_text_batches, exp_name, remove_silence,
240
  # ref_text = ref_text + ". "
241
 
242
  # Define weights for characters
243
- punctuation_weights = {",": 0, ".": 0, " ": 0} # Add more punctuation as needed
244
 
245
  for i, gen_text in enumerate(progress.tqdm(gen_text_batches)):
246
  # Prepare the text
 
240
  # ref_text = ref_text + ". "
241
 
242
  # Define weights for characters
243
+ punctuation_weights = {",": 1, ".": 1, " ": 1} # Add more punctuation as needed
244
 
245
  for i, gen_text in enumerate(progress.tqdm(gen_text_batches)):
246
  # Prepare the text