Spaces:
Build error
Build error
LPhilp1943
commited on
Commit
•
8dc6b2e
1
Parent(s):
afd8c15
Update app.py
Browse files
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"),
|
55 |
gr.Textbox(label="Text to Speech"),
|
56 |
-
gr.Audio(label="Speech to Speech Input")
|
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"),
|