geokanaan commited on
Commit
39c68a9
·
1 Parent(s): 20f4dce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -10,7 +10,7 @@ def transcribe(audio):
10
 
11
 
12
  HF_TOKEN = os.getenv('WRITE')
13
- hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "geokanaan/flagged_Audio_Lebanese")
14
 
15
  iface = gr.Interface(
16
  fn=transcribe,
@@ -20,7 +20,7 @@ iface = gr.Interface(
20
  outputs="text",
21
  title="arabeasy",
22
  description="Realtime demo for Lebanese Arabizi speech recognition",
23
- allow_flagging='manual',
24
- flagging_callback=hf_writer
25
  )
26
  iface.launch()
 
10
 
11
 
12
  HF_TOKEN = os.getenv('WRITE')
13
+ #hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "geokanaan/flagged_Audio_Lebanese")
14
 
15
  iface = gr.Interface(
16
  fn=transcribe,
 
20
  outputs="text",
21
  title="arabeasy",
22
  description="Realtime demo for Lebanese Arabizi speech recognition",
23
+ #allow_flagging='manual',
24
+ #flagging_callback=hf_writer
25
  )
26
  iface.launch()