alakxender commited on
Commit
42657a1
·
1 Parent(s): d2a74d8
Files changed (2) hide show
  1. app.py +1 -0
  2. requirements.txt +2 -1
app.py CHANGED
@@ -4,6 +4,7 @@ import subprocess
4
  import sys
5
  import os
6
 
 
7
  def transcribe(audio_file):
8
  try:
9
  # Load audio file
 
4
  import sys
5
  import os
6
 
7
+ @spaces.GPU
8
  def transcribe(audio_file):
9
  try:
10
  # Load audio file
requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
  transformers
2
  torchaudio
3
- pyctcdecode
 
 
1
  transformers
2
  torchaudio
3
+ pyctcdecode
4
+ pypi-kenlm