Naphat Sornwichai commited on
Commit
4f21041
·
1 Parent(s): a5e55c3

update major files

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ except socket.gaierror as e:
21
  print("Initializing transcription model (faster-whisper)...")
22
  device = "cuda" if torch.cuda.is_available() else "cpu"
23
  compute_type = "float16" if device == "cuda" else "int8"
24
- model_size = "distil-large-v3"
25
  try:
26
  model = WhisperModel(model_size, device=device, compute_type=compute_type)
27
  print("Transcription model loaded successfully.")
 
21
  print("Initializing transcription model (faster-whisper)...")
22
  device = "cuda" if torch.cuda.is_available() else "cpu"
23
  compute_type = "float16" if device == "cuda" else "int8"
24
+ model_size = "large-v3-turbo"
25
  try:
26
  model = WhisperModel(model_size, device=device, compute_type=compute_type)
27
  print("Transcription model loaded successfully.")