legusxyz commited on
Commit
d224902
·
verified ·
1 Parent(s): d8ee819

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ from fastapi.staticfiles import StaticFiles
11
  app = FastAPI()
12
 
13
  device = 0 if torch.cuda.is_available() else -1
14
- asr_pipeline = pipeline(model="openai/whisper-small", device=device) # Initialize Whisper model
15
  # asr_pipeline = pipeline( model="openai/whisper-small", device=device, language="pt")
16
 
17
 
 
11
  app = FastAPI()
12
 
13
  device = 0 if torch.cuda.is_available() else -1
14
+ asr_pipeline = pipeline(model="openai/whisper-large-v3", device=device) # Initialize Whisper model
15
  # asr_pipeline = pipeline( model="openai/whisper-small", device=device, language="pt")
16
 
17