Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,10 @@ title = "Speech-to-Text (persian)"
|
|
| 55 |
description = "Upload a prsian audio, and let AI do the hard work of transcribing."
|
| 56 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2104.06678'>Large-Scale Self- and Semi-Supervised Learning for Speech Translation</a></p>"
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
description = "Upload a prsian audio, and let AI do the hard work of transcribing."
|
| 56 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2104.06678'>Large-Scale Self- and Semi-Supervised Learning for Speech Translation</a></p>"
|
| 57 |
|
| 58 |
+
|
| 59 |
+
while output != "خروج":
|
| 60 |
+
demo = gr.Interface(fn=parse, inputs = input_, outputs=txtbox, title=title, description=description, article = article,
|
| 61 |
+
streaming=True, interactive=True,
|
| 62 |
+
analytics_enabled=False, show_tips=False, enable_queue=True)
|
| 63 |
+
demo.launch(share=True)
|
| 64 |
+
output = outpts
|