LPhilp1943 commited on
Commit
2c5ccd6
1 Parent(s): 4bc4442

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,7 +37,7 @@ def speech_to_speech(input_audio, target_text, sample_rate=22050):
37
  iface = gr.Interface(
38
  fn=speech_to_speech,
39
  inputs=[
40
- gr.inputs.Audio(type="filepath", label="Input Audio"),
41
  gr.Textbox(label="Target Text"),
42
  gr.Slider(minimum=16000, maximum=48000, step=1000, default=22050, label="Sample Rate")
43
  ],
@@ -46,4 +46,4 @@ iface = gr.Interface(
46
  description="This app uses Facebook's Wav2Vec 2.0 for speech-to-text and VITS for text-to-speech."
47
  )
48
 
49
- iface.launch()
 
37
  iface = gr.Interface(
38
  fn=speech_to_speech,
39
  inputs=[
40
+ gr.Audio(type="filepath", label="Input Audio"),
41
  gr.Textbox(label="Target Text"),
42
  gr.Slider(minimum=16000, maximum=48000, step=1000, default=22050, label="Sample Rate")
43
  ],
 
46
  description="This app uses Facebook's Wav2Vec 2.0 for speech-to-text and VITS for text-to-speech."
47
  )
48
 
49
+ iface.launch()