Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import os
|
|
10 |
login(os.environ["HF"], add_to_git_credential=True)
|
11 |
|
12 |
# Load Whisper Tiny Model
|
13 |
-
model_name = "Kushtrim/whisper-large-v3-turbo-shqip
|
14 |
processor = WhisperProcessor.from_pretrained(model_name)
|
15 |
model = WhisperForConditionalGeneration.from_pretrained(model_name)
|
16 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
10 |
login(os.environ["HF"], add_to_git_credential=True)
|
11 |
|
12 |
# Load Whisper Tiny Model
|
13 |
+
model_name = "Kushtrim/whisper-large-v3-turbo-shqip"
|
14 |
processor = WhisperProcessor.from_pretrained(model_name)
|
15 |
model = WhisperForConditionalGeneration.from_pretrained(model_name)
|
16 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|