Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from transformers import pipeline, AutoTokenizer, AutoModelForCausalLM, BitsAndB
|
|
6 |
model = "openai/whisper-small"
|
7 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
8 |
|
9 |
-
processor = AutoProcessor.from_pretrained(
|
10 |
|
11 |
|
12 |
transcriber = pipeline(
|
|
|
6 |
model = "openai/whisper-small"
|
7 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
8 |
|
9 |
+
processor = AutoProcessor.from_pretrained(model)
|
10 |
|
11 |
|
12 |
transcriber = pipeline(
|