Spaces:
Running
Running
Update app.py
Browse files
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="
|
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.",
|