uzdzn commited on
Commit
641c2f8
1 Parent(s): 4806fb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def gradio_voice_conversion(audio_data):
16
  # Define your Gradio interface
17
  demo = gr.Interface(
18
  fn=gradio_voice_conversion, # Use the wrapper function for voice conversion
19
- inputs=gr.Audio(label="Record or upload your voice", type="file"), # Specify that you want the file
20
  outputs=gr.Audio(label="Converted Voice"),
21
  title="Voice Conversion Demo",
22
  description="Voice Conversion: Transform the input voice to a target voice.",
 
16
  # Define your Gradio interface
17
  demo = gr.Interface(
18
  fn=gradio_voice_conversion, # Use the wrapper function for voice conversion
19
+ inputs=gr.Audio(label="Record or upload your voice", type="filepath"), # Specify that you want the filepath
20
  outputs=gr.Audio(label="Converted Voice"),
21
  title="Voice Conversion Demo",
22
  description="Voice Conversion: Transform the input voice to a target voice.",