Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|
|
|
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)
|