download recording button
Browse files- .DS_Store +0 -0
- app.py +3 -2
- model/.DS_Store +0 -0
- model/__pycache__/__init__.cpython-312.pyc +0 -0
- model/__pycache__/cfm.cpython-312.pyc +0 -0
- model/__pycache__/dataset.cpython-312.pyc +0 -0
- model/__pycache__/ecapa_tdnn.cpython-312.pyc +0 -0
- model/__pycache__/modules.cpython-312.pyc +0 -0
- model/__pycache__/trainer.cpython-312.pyc +0 -0
- model/__pycache__/utils.cpython-312.pyc +0 -0
- model/backbones/__pycache__/dit.cpython-312.pyc +0 -0
- model/backbones/__pycache__/mmdit.cpython-312.pyc +0 -0
- model/backbones/__pycache__/unett.cpython-312.pyc +0 -0
.DS_Store
CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
|
|
app.py
CHANGED
@@ -430,6 +430,7 @@ with gr.Blocks() as app_tts:
|
|
430 |
|
431 |
audio_output = gr.Audio(label="Synthesized Audio")
|
432 |
spectrogram_output = gr.Image(label="Spectrogram")
|
|
|
433 |
|
434 |
generate_btn.click(
|
435 |
infer,
|
@@ -441,7 +442,7 @@ with gr.Blocks() as app_tts:
|
|
441 |
remove_silence,
|
442 |
cross_fade_duration_slider,
|
443 |
],
|
444 |
-
outputs=[audio_output, spectrogram_output],
|
445 |
)
|
446 |
|
447 |
with gr.Blocks() as app_podcast:
|
@@ -791,4 +792,4 @@ if __name__ == "__main__":
|
|
791 |
if not USING_SPACES:
|
792 |
main()
|
793 |
else:
|
794 |
-
app.queue().launch(share=True)
|
|
|
430 |
|
431 |
audio_output = gr.Audio(label="Synthesized Audio")
|
432 |
spectrogram_output = gr.Image(label="Spectrogram")
|
433 |
+
download_audio_output = gr.File(label="Download Recorded Audio")
|
434 |
|
435 |
generate_btn.click(
|
436 |
infer,
|
|
|
442 |
remove_silence,
|
443 |
cross_fade_duration_slider,
|
444 |
],
|
445 |
+
outputs=[audio_output, spectrogram_output,download_audio_output],
|
446 |
)
|
447 |
|
448 |
with gr.Blocks() as app_podcast:
|
|
|
792 |
if not USING_SPACES:
|
793 |
main()
|
794 |
else:
|
795 |
+
app.queue().launch(theme="default",share=True)
|
model/.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
model/__pycache__/__init__.cpython-312.pyc
ADDED
Binary file (397 Bytes). View file
|
|
model/__pycache__/cfm.cpython-312.pyc
ADDED
Binary file (9.96 kB). View file
|
|
model/__pycache__/dataset.cpython-312.pyc
ADDED
Binary file (11.5 kB). View file
|
|
model/__pycache__/ecapa_tdnn.cpython-312.pyc
ADDED
Binary file (16.2 kB). View file
|
|
model/__pycache__/modules.cpython-312.pyc
ADDED
Binary file (26.7 kB). View file
|
|
model/__pycache__/trainer.cpython-312.pyc
ADDED
Binary file (13.7 kB). View file
|
|
model/__pycache__/utils.cpython-312.pyc
ADDED
Binary file (27.2 kB). View file
|
|
model/backbones/__pycache__/dit.cpython-312.pyc
ADDED
Binary file (6.81 kB). View file
|
|
model/backbones/__pycache__/mmdit.cpython-312.pyc
ADDED
Binary file (5.86 kB). View file
|
|
model/backbones/__pycache__/unett.cpython-312.pyc
ADDED
Binary file (8.27 kB). View file
|
|