naveenk-ai
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -332,11 +332,9 @@ def gradio_interface():
|
|
332 |
gr.Interface(
|
333 |
fn=predict_fn,
|
334 |
inputs=[input_text, reference_audio, speaker, noise_scale, length_scale, noise_scale_w, tone_color],
|
335 |
-
outputs=gr.Audio(type="
|
336 |
title="Speech Generation and Tone Conversion",
|
337 |
description="Generate speech and convert tone using the OpenVoice model.",
|
338 |
).launch()
|
339 |
|
340 |
-
gradio_interface()
|
341 |
-
|
342 |
|
|
|
332 |
gr.Interface(
|
333 |
fn=predict_fn,
|
334 |
inputs=[input_text, reference_audio, speaker, noise_scale, length_scale, noise_scale_w, tone_color],
|
335 |
+
outputs=gr.Audio(type="filepath", label="Generated Audio"),
|
336 |
title="Speech Generation and Tone Conversion",
|
337 |
description="Generate speech and convert tone using the OpenVoice model.",
|
338 |
).launch()
|
339 |
|
|
|
|
|
340 |
|