wetdog commited on
Commit
fe1504e
·
verified ·
1 Parent(s): 0053d2c

Update whisper.py

Browse files
Files changed (1) hide show
  1. whisper.py +1 -0
whisper.py CHANGED
@@ -6,6 +6,7 @@ import torchaudio
6
  import torch
7
  import re
8
  from transformers import pipeline
 
9
 
10
 
11
  device = 0 if torch.cuda.is_available() else "cpu"
 
6
  import torch
7
  import re
8
  from transformers import pipeline
9
+ import spaces
10
 
11
 
12
  device = 0 if torch.cuda.is_available() else "cpu"