Ahsen Khaliq commited on
Commit
ce63da8
1 Parent(s): a97d8ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -51,10 +51,8 @@ outputs = gr.outputs.Textbox(label="Output Text")
51
  title = "wav2vec 2.0"
52
  description = "demo for Facebook AI wav2vec 2.0 using Hugging Face transformers. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."
53
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2006.11477'>wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations</a> | <a href='https://github.com/pytorch/fairseq'>Github Repo</a> | <a href='https://huggingface.co/facebook/wav2vec2-base-960h'>Hugging Face model</a></p>"
54
- examples = [
55
- ["poem.wav"]
56
- ]
57
 
58
- gr.Interface(inference, inputs, outputs, title=title, description=description, article=article, examples=examples).launch()
 
59
 
60
 
 
51
  title = "wav2vec 2.0"
52
  description = "demo for Facebook AI wav2vec 2.0 using Hugging Face transformers. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."
53
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2006.11477'>wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations</a> | <a href='https://github.com/pytorch/fairseq'>Github Repo</a> | <a href='https://huggingface.co/facebook/wav2vec2-base-960h'>Hugging Face model</a></p>"
 
 
 
54
 
55
+
56
+ gr.Interface(inference, inputs, outputs, title=title, description=description, article=article).launch()
57
 
58