deekshachilukuri commited on
Commit
4b21b18
·
verified ·
1 Parent(s): b8c042c
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ # Define the Gradio interface
3
+ iface = gr.Interface(
4
+ fn=generate_voice,
5
+ inputs=[
6
+ gr.Textbox(label="Input Text"),
7
+ gr.Audio(label="Input Audio", type="filepath")
8
+ ],
9
+ outputs=gr.Audio(label="Cloned Voice"),
10
+ title="Voice Cloning TTS"
11
+ )
12
+
13
+ # Launch the interface
14
+ iface.launch()