Spaces:
Runtime error
Runtime error
evertorres-itm
commited on
Commit
•
7fb99c3
1
Parent(s):
ed34c55
Update app.py
Browse files
app.py
CHANGED
@@ -21,8 +21,8 @@ demo = gr.Blocks()
|
|
21 |
with demo:
|
22 |
gr.Markdown("Demo sobre historia clínica en español a entidades en ingles")
|
23 |
audio = gr.Audio(sources="microphone", type="filepath")
|
24 |
-
b_text = gr.Button("Transcribir")
|
25 |
texto = gr.Textbox()
|
|
|
26 |
b_text.click(audio2text, inputs=audio, outputs=texto)
|
27 |
|
28 |
b_trans = gr.Button("Traducir historia")
|
|
|
21 |
with demo:
|
22 |
gr.Markdown("Demo sobre historia clínica en español a entidades en ingles")
|
23 |
audio = gr.Audio(sources="microphone", type="filepath")
|
|
|
24 |
texto = gr.Textbox()
|
25 |
+
b_text = gr.Button("Transcribir")
|
26 |
b_text.click(audio2text, inputs=audio, outputs=texto)
|
27 |
|
28 |
b_trans = gr.Button("Traducir historia")
|