Spaces:
Build error
Build error
LPhilp1943
commited on
Commit
•
46c13ab
1
Parent(s):
265df29
Update app.py
Browse files
app.py
CHANGED
@@ -50,16 +50,16 @@ iface = gr.Interface(
|
|
50 |
"Text to Speech": text_to_speech,
|
51 |
"Speech to Speech": speech_to_speech
|
52 |
},
|
53 |
-
inputs=
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
outputs=
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
title="Speech Processing Application",
|
64 |
description="This app uses Facebook's Wav2Vec 2.0 for speech-to-text and VITS for text-to-speech.",
|
65 |
layout="vertical"
|
|
|
50 |
"Text to Speech": text_to_speech,
|
51 |
"Speech to Speech": speech_to_speech
|
52 |
},
|
53 |
+
inputs=[
|
54 |
+
gr.Audio(source="upload", type="file", label="Speech to Text"),
|
55 |
+
gr.Textbox(label="Text to Speech"),
|
56 |
+
gr.Audio(source="upload", type="file", label="Speech to Speech Input") + gr.Textbox(label="Target Text for Speech to Speech")
|
57 |
+
],
|
58 |
+
outputs=[
|
59 |
+
gr.Textbox(label="Transcription"),
|
60 |
+
gr.Audio(label="Synthesized Speech"),
|
61 |
+
gr.Audio(label="Speech to Speech Output")
|
62 |
+
],
|
63 |
title="Speech Processing Application",
|
64 |
description="This app uses Facebook's Wav2Vec 2.0 for speech-to-text and VITS for text-to-speech.",
|
65 |
layout="vertical"
|