Spaces:
Runtime error
Runtime error
evertorres-itm
commited on
Commit
·
2329fc4
1
Parent(s):
c8fcb7e
Update app.py
Browse files
app.py
CHANGED
@@ -27,11 +27,11 @@ with demo:
|
|
27 |
b_text.click(audio2text, inputs=audio, outputs=texto)
|
28 |
|
29 |
b_trans = gr.Button("Traducir historia")
|
|
|
30 |
b_trans.click(text2eng, inputs=texto, outputs=transcripcion)
|
31 |
|
32 |
b_ner =gr.Button("Search entities")
|
33 |
-
|
34 |
-
b_ner.click(eng2ner, inputs=transcripcion, outputs=entidades)
|
35 |
entidades = gr.HighlightedText()
|
|
|
36 |
|
37 |
demo.launch()
|
|
|
27 |
b_text.click(audio2text, inputs=audio, outputs=texto)
|
28 |
|
29 |
b_trans = gr.Button("Traducir historia")
|
30 |
+
transcripcion = gr.Textbox()
|
31 |
b_trans.click(text2eng, inputs=texto, outputs=transcripcion)
|
32 |
|
33 |
b_ner =gr.Button("Search entities")
|
|
|
|
|
34 |
entidades = gr.HighlightedText()
|
35 |
+
b_ner.click(eng2ner, inputs=transcripcion, outputs=entidades)
|
36 |
|
37 |
demo.launch()
|