Removed download button
Browse files
.DS_Store
CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
|
|
app.py
CHANGED
@@ -383,6 +383,9 @@ def update_speed(new_speed):
|
|
383 |
speed = new_speed
|
384 |
return f"Speed set to: {speed}"
|
385 |
|
|
|
|
|
|
|
386 |
with gr.Blocks() as app_credits:
|
387 |
gr.Markdown("""
|
388 |
# Credits
|
@@ -394,6 +397,9 @@ with gr.Blocks() as app_credits:
|
|
394 |
with gr.Blocks(theme='gstaff/sketch') as app_tts:
|
395 |
gr.Markdown("# Batched TTS")
|
396 |
ref_audio_input = gr.Audio(label="Reference Audio", type="filepath")
|
|
|
|
|
|
|
397 |
gen_text_input = gr.Textbox(label="Text to Generate", lines=10)
|
398 |
model_choice = gr.Radio(
|
399 |
choices=["F5-TTS", "E2-TTS"], label="Choose TTS Model", value="F5-TTS"
|
|
|
383 |
speed = new_speed
|
384 |
return f"Speed set to: {speed}"
|
385 |
|
386 |
+
def process_audio(ref_audio_path):
|
387 |
+
return ref_audio_path
|
388 |
+
|
389 |
with gr.Blocks() as app_credits:
|
390 |
gr.Markdown("""
|
391 |
# Credits
|
|
|
397 |
with gr.Blocks(theme='gstaff/sketch') as app_tts:
|
398 |
gr.Markdown("# Batched TTS")
|
399 |
ref_audio_input = gr.Audio(label="Reference Audio", type="filepath")
|
400 |
+
download_button = gr.File(label="Download Your Recording")
|
401 |
+
ref_audio_input.change(process_audio, inputs=ref_audio_input, outputs=download_button)
|
402 |
+
|
403 |
gen_text_input = gr.Textbox(label="Text to Generate", lines=10)
|
404 |
model_choice = gr.Radio(
|
405 |
choices=["F5-TTS", "E2-TTS"], label="Choose TTS Model", value="F5-TTS"
|