cdactvm commited on
Commit
2c20c7f
1 Parent(s): 353a82a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ with demo:
71
  #b4.click(lambda: None, outputs=upfile)
72
  # b1.click(sel_lng, inputs=[dr,mic,upfile], outputs=text)
73
  #b2.click(text_to_sentiment, inputs=text, outputs=label)
74
- #callback.setup([text, upfile], "flagged_data_points")
75
  #callback.setup([text, upfile], hf_writer)
76
  b1.click(lambda *args: callback.flag(args), [text, upfile], None, preprocess=False)
77
  #flagging_callback=hf_writer
 
71
  #b4.click(lambda: None, outputs=upfile)
72
  # b1.click(sel_lng, inputs=[dr,mic,upfile], outputs=text)
73
  #b2.click(text_to_sentiment, inputs=text, outputs=label)
74
+ callback.setup([text, upfile], "flagged_audio_files")
75
  #callback.setup([text, upfile], hf_writer)
76
  b1.click(lambda *args: callback.flag(args), [text, upfile], None, preprocess=False)
77
  #flagging_callback=hf_writer