naveenk-ai commited on
Commit
1b9694d
·
verified ·
1 Parent(s): 2afd000

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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="file", 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
- 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