LPhilp1943 commited on
Commit
8dc6b2e
1 Parent(s): afd8c15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,9 +51,9 @@ iface = gr.Interface(
51
  "Speech to Speech": speech_to_speech
52
  },
53
  inputs=[
54
- gr.Audio(label="Speech to Text"), # Fixed: Removed 'source' and 'type'
55
  gr.Textbox(label="Text to Speech"),
56
- gr.Audio(label="Speech to Speech Input") + gr.Textbox(label="Target Text for Speech to Speech")
57
  ],
58
  outputs=[
59
  gr.Textbox(label="Transcription"),
 
51
  "Speech to Speech": speech_to_speech
52
  },
53
  inputs=[
54
+ gr.Audio(label="Speech to Text"),
55
  gr.Textbox(label="Text to Speech"),
56
+ [gr.Audio(label="Speech to Speech Input"), gr.Textbox(label="Target Text for Speech to Speech")] # Corrected: Use a list for multiple inputs
57
  ],
58
  outputs=[
59
  gr.Textbox(label="Transcription"),