Fabrice-TIERCELIN commited on
Commit
5fc5b3d
·
verified ·
1 Parent(s): 1f1f5f3
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -96,9 +96,7 @@ def predict(prompt, language, gender, audio_file_pth, mic_file_path, use_mic):
96
  information = ("Start again to get a different result. " if is_randomize_seed else "") + "The sound has been generated in " + ((str(hours) + " h, ") if hours != 0 else "") + ((str(minutes) + " min, ") if hours != 0 or minutes != 0 else "") + str(secondes) + " sec."
97
 
98
  return (
99
- gr.make_waveform(
100
- audio = output_filename,
101
- ),
102
  output_filename,
103
  information,
104
  )
 
96
  information = ("Start again to get a different result. " if is_randomize_seed else "") + "The sound has been generated in " + ((str(hours) + " h, ") if hours != 0 else "") + ((str(minutes) + " min, ") if hours != 0 or minutes != 0 else "") + str(secondes) + " sec."
97
 
98
  return (
99
+ output_filename,
 
 
100
  output_filename,
101
  information,
102
  )