Gregniuki commited on
Commit
ec29149
·
verified ·
1 Parent(s): 7242f4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -233,7 +233,7 @@ def infer_batch(ref_audio, ref_text, gen_text_batches, exp_name, remove_silence,
233
  # Define weights for characters
234
  punctuation_weights = {",": 1, ".": 1, " ": 1} # Add more punctuation as needed
235
 
236
- for i, gen_text in enumerate(progressbar.progressbar(gen_text_batches)):
237
  # Prepare the text
238
  text_list = [ref_text + gen_text]
239
  final_text_list = convert_char_to_pinyin(text_list)
 
233
  # Define weights for characters
234
  punctuation_weights = {",": 1, ".": 1, " ": 1} # Add more punctuation as needed
235
 
236
+ for i, gen_text in enumerate(progress.tqdm(gen_text_batches)):
237
  # Prepare the text
238
  text_list = [ref_text + gen_text]
239
  final_text_list = convert_char_to_pinyin(text_list)