yuangongfdu commited on
Commit
da7d86f
1 Parent(s): 2d4a3c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -5,6 +5,8 @@ link = "https://github.com/YuanGongND/whisper-AT"
5
  text = "[Github]"
6
  paper_link = "https://arxiv.org/pdf/2307.03183.pdf"
7
  paper_text = "[Paper]"
 
 
8
 
9
  model_large = whisper.load_model("large-v1")
10
  model_tiny = whisper.load_model("tiny")
@@ -57,5 +59,5 @@ iface = gr.Interface(fn=predict,
57
  title="Quick Demo of Whisper-AT",
58
  description="We are glad to introduce Whisper-AT - A new joint audio tagging and speech recognition model. It outputs background sound labels in addition to text." + f"<a href='{paper_link}'>{paper_text}</a> " + f"<a href='{link}'>{text}</a> <br>" +
59
  "Whisper-AT is authored by Yuan Gong, Sameer Khurana, Leonid Karlinsky, and James Glass (MIT & MIT-IBM Watson AI Lab). It is an Interspeech 2023 paper. <br>" +
60
- "This demo runs on CPU, running it on GPU would be much faster. Consider run it on Google Colab" + f"<a href='{https://colab.research.google.com/drive/1BbOGWCMjkOlOY5PbEMGk5RomRSqMcy_Q?usp=sharing}'>{colab_script}</a>.")
61
  iface.launch(debug=True)
 
5
  text = "[Github]"
6
  paper_link = "https://arxiv.org/pdf/2307.03183.pdf"
7
  paper_text = "[Paper]"
8
+ colab_link = "https://colab.research.google.com/drive/1BbOGWCMjkOlOY5PbEMGk5RomRSqMcy_Q?usp=sharing"
9
+ colab_text = "[Run on Colab GPU]"
10
 
11
  model_large = whisper.load_model("large-v1")
12
  model_tiny = whisper.load_model("tiny")
 
59
  title="Quick Demo of Whisper-AT",
60
  description="We are glad to introduce Whisper-AT - A new joint audio tagging and speech recognition model. It outputs background sound labels in addition to text." + f"<a href='{paper_link}'>{paper_text}</a> " + f"<a href='{link}'>{text}</a> <br>" +
61
  "Whisper-AT is authored by Yuan Gong, Sameer Khurana, Leonid Karlinsky, and James Glass (MIT & MIT-IBM Watson AI Lab). It is an Interspeech 2023 paper. <br>" +
62
+ "This demo runs on CPU, running it on GPU would be much faster. Consider run it on Google Colab" + f"<a href='{colab_link}'>{colab_text}</a>.")
63
  iface.launch(debug=True)