cdactvm commited on
Commit
d4e2ce0
·
verified ·
1 Parent(s): 759cb88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -325,8 +325,8 @@ demo=gr.Interface(
325
  "textbox"
326
  # #"state"
327
  ],
328
- allow_flagging="manual",
329
- flagging_options=["Language error", "English transliteration error", "Other"],
330
  #flagging_callback=hf_writer,
331
  title="Automatic Speech Recognition",
332
  description = "Demo for Automatic Speech Recognition. Use microphone to record speech. Please press Record button. Initially it will take some time to load the model. The recognized text will appear in the output textbox",
 
325
  "textbox"
326
  # #"state"
327
  ],
328
+ allow_flagging="auto",
329
+ #flagging_options=["Language error", "English transliteration error", "Other"],
330
  #flagging_callback=hf_writer,
331
  title="Automatic Speech Recognition",
332
  description = "Demo for Automatic Speech Recognition. Use microphone to record speech. Please press Record button. Initially it will take some time to load the model. The recognized text will appear in the output textbox",