Spaces:
Sleeping
Sleeping
VenkateshRoshan
commited on
Commit
·
0354ffb
1
Parent(s):
78e5124
Model updated from large to small
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import psutil
|
|
12 |
# Ensure CUDA is available and set device accordingly
|
13 |
# device = 0 if torch.cuda.is_available() else -1
|
14 |
|
15 |
-
model_id = "openai/whisper-
|
16 |
client = InferenceClient(model_id)
|
17 |
pipe = pipeline("automatic-speech-recognition", model=model_id) #, device=device)
|
18 |
|
|
|
12 |
# Ensure CUDA is available and set device accordingly
|
13 |
# device = 0 if torch.cuda.is_available() else -1
|
14 |
|
15 |
+
model_id = "openai/whisper-small"
|
16 |
client = InferenceClient(model_id)
|
17 |
pipe = pipeline("automatic-speech-recognition", model=model_id) #, device=device)
|
18 |
|