Spaces:
Build error
Build error
add post-processing
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ def run(audio_file, language):
|
|
150 |
prepare_tsv(converted_audio_file, n_frame, language)
|
151 |
get_vocab_and_yaml(language)
|
152 |
model_path = get_model(language)
|
153 |
-
generated_output = generate(model_path)
|
154 |
remove_temp_files(converted_audio_file)
|
155 |
return generated_output
|
156 |
except:
|
|
|
150 |
prepare_tsv(converted_audio_file, n_frame, language)
|
151 |
get_vocab_and_yaml(language)
|
152 |
model_path = get_model(language)
|
153 |
+
generated_output = post_processing(generate(model_path))
|
154 |
remove_temp_files(converted_audio_file)
|
155 |
return generated_output
|
156 |
except:
|