Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ with gr.Blocks(theme = gr.themes.Soft()) as demo:
|
|
85 |
""")
|
86 |
with gr.Column(scale = 4):
|
87 |
with gr.Tab("Rolou kumaa ginarit"):
|
88 |
-
input_audio = gr.Audio(sources = ['microphone'],
|
89 |
output_text = gr.components.Textbox(label = "Dalinsuat")
|
90 |
button1 = gr.Button("Dalinsuato' | Transcribe")
|
91 |
button1.click(transcribe, inputs = input_audio, outputs = output_text)
|
@@ -93,7 +93,7 @@ with gr.Blocks(theme = gr.themes.Soft()) as demo:
|
|
93 |
with gr.Tab("Ginarit kumaa rolou"):
|
94 |
input_text = gr.components.Textbox(label = "Ginarit", placeholder = "Potutakai suat nu hiti")
|
95 |
button2 = gr.Button("Poulayo'")
|
96 |
-
output_audio = gr.
|
97 |
button2.click(tts_run, inputs = input_text, outputs = output_audio)
|
98 |
|
99 |
demo.launch(debug = True)
|
|
|
85 |
""")
|
86 |
with gr.Column(scale = 4):
|
87 |
with gr.Tab("Rolou kumaa ginarit"):
|
88 |
+
input_audio = gr.Audio(sources = ['microphone'], label = "Gakamai rolou nu", format = 'wav')
|
89 |
output_text = gr.components.Textbox(label = "Dalinsuat")
|
90 |
button1 = gr.Button("Dalinsuato' | Transcribe")
|
91 |
button1.click(transcribe, inputs = input_audio, outputs = output_text)
|
|
|
93 |
with gr.Tab("Ginarit kumaa rolou"):
|
94 |
input_text = gr.components.Textbox(label = "Ginarit", placeholder = "Potutakai suat nu hiti")
|
95 |
button2 = gr.Button("Poulayo'")
|
96 |
+
output_audio = gr.Audio(label = "Rolou pinoulai")
|
97 |
button2.click(tts_run, inputs = input_text, outputs = output_audio)
|
98 |
|
99 |
demo.launch(debug = True)
|