Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,8 @@ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "crowdsourced-speech-demo")
|
|
8 |
iface = gr.Interface.load(
|
9 |
"models/facebook/wav2vec2-base-960h",
|
10 |
inputs="mic",
|
|
|
|
|
11 |
flagging_callback=hf_writer)
|
12 |
|
13 |
iface.launch()
|
|
|
8 |
iface = gr.Interface.load(
|
9 |
"models/facebook/wav2vec2-base-960h",
|
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: [](). 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()
|