moro23 commited on
Commit
3cae08e
1 Parent(s): 6f71f23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -59,6 +59,7 @@ Output = gr.Textbox(label="Hausa Script")
59
 
60
  description = "This application displays transcribed text for given audio input"
61
 
62
- demo = gr.Interface(fn = asr_transcript, inputs = Input, outputs = Output, title = title, description= description)
 
63
 
64
- demo.launch()
 
59
 
60
  description = "This application displays transcribed text for given audio input"
61
 
62
+ demo = gr.Interface(fn = asr_transcript, inputs = Input, outputs = Output, title = title, flagging_options=["incorrect", "worst", "ambiguous"],
63
+ allow_flagging="manual",flagging_callback=hf_writer,description= description)
64
 
65
+ demo.launch(share=True)