Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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")
|