Walid-Ahmed commited on
Commit
b405478
·
verified ·
1 Parent(s): 51dfe6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -2,6 +2,9 @@
2
  import whisper
3
  import gradio as gr
4
 
 
 
 
5
  # Force the model to run on CPU
6
  device = "cpu"
7
  print("Running on CPU")
 
2
  import whisper
3
  import gradio as gr
4
 
5
+
6
+ from transformers import pipeline
7
+
8
  # Force the model to run on CPU
9
  device = "cpu"
10
  print("Running on CPU")