osanseviero HF staff commited on
Commit
6849f63
1 Parent(s): cbe1813

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -8
app.py CHANGED
@@ -1,14 +1,10 @@
1
  import gradio as gr
2
 
3
-
4
-
5
- description = "Demo for HuBERT. Add your audio or click one of the examples to load them. Read more at the links below."
6
- article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2106.07447'>HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units</a> | <a href='https://github.com/pytorch/fairseq/tree/master/examples/hubert'>Github Repo</a></p>"
7
 
8
  gr.Interface.load("huggingface/facebook/hubert-large-ls960-ft",
9
  description=description,
10
  article=article,
11
- examples=[
12
- ["./audio1.mp3"],
13
- ["./audio2.mp3"]
14
- ]).launch()
1
  import gradio as gr
2
 
3
+ description = "HuBERT demo. Add your audio or click one of the examples below to load them."
4
+ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2106.07447'>HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units</a></p>"
 
 
5
 
6
  gr.Interface.load("huggingface/facebook/hubert-large-ls960-ft",
7
  description=description,
8
  article=article,
9
+ examples=[["./audio1.mp3"], ["./audio2.mp3"]]
10
+ ).launch()