nimool commited on
Commit
5a8783b
·
1 Parent(s): 651b2b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
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
- demo = gr.Interface(fn=parse, inputs = input_, outputs=txtbox, title=title, description=description, article = article,
59
- streaming=True, interactive=True,
60
- analytics_enabled=False, show_tips=False, enable_queue=True)
61
- demo.launch(share=True)
 
 
 
 
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