Gregniuki commited on
Commit
eb90731
·
verified ·
1 Parent(s): db4f531

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -237,7 +237,7 @@ def infer_batch(ref_audio, ref_text, gen_text_batches, exp_name, remove_silence,
237
 
238
  # Ensure ref_text ends with a space if the last character is single-byte
239
  # if len(ref_text[-1].encode("utf-8")) == 1:
240
- # ref_text = ref_text + ". "
241
 
242
  # Define weights for characters
243
  punctuation_weights = {",": 1, ".": 1, " ": 1} # Add more punctuation as needed
 
237
 
238
  # Ensure ref_text ends with a space if the last character is single-byte
239
  # if len(ref_text[-1].encode("utf-8")) == 1:
240
+ # ref_text = ref_text + ". ."
241
 
242
  # Define weights for characters
243
  punctuation_weights = {",": 1, ".": 1, " ": 1} # Add more punctuation as needed