Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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
|