Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,7 @@ iface = gr.Interface.load(
|
|
10 |
inputs="mic",
|
11 |
title="Crowdsourced Dataset for Speech to Text",
|
12 |
article="This demo uses facebook/wav2vec2-base-960h for a speech-to-text model. Any data that gets flagged is added to the crowdsourced *dataset* found here: [https://huggingface.co/datasets/abidlabs/crowdsourced-speech-demo](https://huggingface.co/datasets/abidlabs/crowdsourced-speech-demo). This Space is experimental, and please only flag data that you are comfortable adding to a public dataset!",
|
|
|
13 |
flagging_callback=hf_writer)
|
14 |
|
15 |
iface.launch()
|
|
|
10 |
inputs="mic",
|
11 |
title="Crowdsourced Dataset for Speech to Text",
|
12 |
article="This demo uses facebook/wav2vec2-base-960h for a speech-to-text model. Any data that gets flagged is added to the crowdsourced *dataset* found here: [https://huggingface.co/datasets/abidlabs/crowdsourced-speech-demo](https://huggingface.co/datasets/abidlabs/crowdsourced-speech-demo). This Space is experimental, and please only flag data that you are comfortable adding to a public dataset!",
|
13 |
+
allow_flagging="manual",
|
14 |
flagging_callback=hf_writer)
|
15 |
|
16 |
iface.launch()
|