VenkateshRoshan commited on
Commit
0354ffb
·
1 Parent(s): 78e5124

Model updated from large to small

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-large-v3"
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