Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ with gr.Blocks(theme = gr.themes.Soft()) as demo:
|
|
83 |
""")
|
84 |
with gr.Column(scale = 4):
|
85 |
with gr.Tab("Rolou kumaa ginarit"):
|
86 |
-
input_audio = gr.Audio(sources = ['microphone'], type = 'filepath', label = "Gakamai rolou nu", format = 'wav')
|
87 |
output_text = gr.components.Textbox(label = "Dalinsuat")
|
88 |
button1 = gr.Button("Dalinsuato' | Transcribe")
|
89 |
button1.click(transcribe, inputs = input_audio, outputs = output_text)
|
|
|
83 |
""")
|
84 |
with gr.Column(scale = 4):
|
85 |
with gr.Tab("Rolou kumaa ginarit"):
|
86 |
+
input_audio = gr.Audio(sources = Literal['microphone'], type = 'filepath', label = "Gakamai rolou nu", format = 'wav', editable = False, recording = True)
|
87 |
output_text = gr.components.Textbox(label = "Dalinsuat")
|
88 |
button1 = gr.Button("Dalinsuato' | Transcribe")
|
89 |
button1.click(transcribe, inputs = input_audio, outputs = output_text)
|