cdactvm commited on
Commit
43a9647
1 Parent(s): 2041085

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,13 +1,13 @@
1
  import os
2
 
3
  HF_TOKEN = os.getenv('HF_TOKEN')
4
- hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "crowdsourced-calculator-demo")
5
 
6
  iface = gr.Interface(
7
  calculator,
8
  ["number", gr.Radio(["add", "subtract", "multiply", "divide"]), "number"],
9
  "number",
10
- description="Check out the crowd-sourced dataset at: [https://huggingface.co/datasets/aliabd/crowdsourced-calculator-demo](https://huggingface.co/datasets/aliabd/crowdsourced-calculator-demo)",
11
  allow_flagging="manual",
12
  flagging_options=["wrong sign", "off by one", "other"],
13
  flagging_callback=hf_writer
 
1
  import os
2
 
3
  HF_TOKEN = os.getenv('HF_TOKEN')
4
+ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "save_audio")
5
 
6
  iface = gr.Interface(
7
  calculator,
8
  ["number", gr.Radio(["add", "subtract", "multiply", "divide"]), "number"],
9
  "number",
10
+ #description="Check out the crowd-sourced dataset at: [https://huggingface.co/datasets/aliabd/crowdsourced-calculator-demo](https://huggingface.co/datasets/aliabd/crowdsourced-calculator-demo)",
11
  allow_flagging="manual",
12
  flagging_options=["wrong sign", "off by one", "other"],
13
  flagging_callback=hf_writer