abidlabs
HF staff
commited on
Commit
ce3ac86
1 Parent(s): 2a6cd36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,13 +3,13 @@ import gradio as gr
3
 
4
  HF_TOKEN = os.getenv('HF_TOKEN')
5
 
6
- hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "crowdsourced-speech-demo")
7
 
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: [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
 
3
 
4
  HF_TOKEN = os.getenv('HF_TOKEN')
5
 
6
+ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "crowdsourced-speech-demo2")
7
 
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: [https://huggingface.co/datasets/abidlabs/crowdsourced-speech-demo2](https://huggingface.co/datasets/abidlabs/crowdsourced-speech-demo2). 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