Spaces:
Running
Running
Gradio 5
Browse files
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 |
-
|
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 |
)
|