Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -58,8 +58,7 @@ def fn_clearvoice_tse(input_video):
|
|
58 |
print(f'input_video: {input_video}')
|
59 |
myClearVoice(input_path=input_video, online_write=True, output_path='path_to_output_videos_tse')
|
60 |
|
61 |
-
output_list = find_mp4_files('path_to_output_videos_tse/')
|
62 |
-
print(output_list)
|
63 |
|
64 |
return output_list
|
65 |
|
@@ -126,8 +125,8 @@ tse_demo = gr.Interface(
|
|
126 |
article = ("<p style='text-align: center'><a href='https://arxiv.org/abs/2302.11824' target='_blank'>MossFormer: Pushing the Performance Limit of Monaural Speech Separation using Gated Single-Head Transformer with Convolution-Augmented Joint Self-Attentions</a> | <a href='https://github.com/alibabasglab/MossFormer' target='_blank'>Github Repo</a></p>"
|
127 |
"<p style='text-align: center'><a href='https://arxiv.org/abs/2312.11825' target='_blank'>MossFormer2: Combining Transformer and RNN-Free Recurrent Network for Enhanced Time-Domain Monaural Speech Separation</a> | <a href='https://github.com/alibabasglab/MossFormer2' target='_blank'>Github Repo</a></p>"),
|
128 |
examples = [
|
129 |
-
['examples/
|
130 |
-
['examples/
|
131 |
],
|
132 |
cache_examples = True,
|
133 |
)
|
|
|
58 |
print(f'input_video: {input_video}')
|
59 |
myClearVoice(input_path=input_video, online_write=True, output_path='path_to_output_videos_tse')
|
60 |
|
61 |
+
output_list = find_mp4_files(f'path_to_output_videos_tse/AV_MossFormer2_TSE_16K/{input_video.split('.')[0]}/')
|
|
|
62 |
|
63 |
return output_list
|
64 |
|
|
|
125 |
article = ("<p style='text-align: center'><a href='https://arxiv.org/abs/2302.11824' target='_blank'>MossFormer: Pushing the Performance Limit of Monaural Speech Separation using Gated Single-Head Transformer with Convolution-Augmented Joint Self-Attentions</a> | <a href='https://github.com/alibabasglab/MossFormer' target='_blank'>Github Repo</a></p>"
|
126 |
"<p style='text-align: center'><a href='https://arxiv.org/abs/2312.11825' target='_blank'>MossFormer2: Combining Transformer and RNN-Free Recurrent Network for Enhanced Time-Domain Monaural Speech Separation</a> | <a href='https://github.com/alibabasglab/MossFormer2' target='_blank'>Github Repo</a></p>"),
|
127 |
examples = [
|
128 |
+
['examples/001.mp4'],
|
129 |
+
['examples/002.mp4'],
|
130 |
],
|
131 |
cache_examples = True,
|
132 |
)
|