Gregniuki commited on
Commit
5714b1f
·
verified ·
1 Parent(s): d327cd8

Update app.py

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