WajeehAzeemX commited on
Commit
64e4b92
·
verified ·
1 Parent(s): adb9315

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from datasets import load_dataset
4
  from fastapi import FastAPI, Request, HTTPException
5
  import librosa
6
  import io
7
- whisper = pipeline("automatic-speech-recognition", "whitefox123/whisper-small-ar2", torch_dtype=torch.float16, device="cpu")
8
  app = FastAPI()
9
 
10
  @app.post("/transcribe/")
 
4
  from fastapi import FastAPI, Request, HTTPException
5
  import librosa
6
  import io
7
+ whisper = pipeline("automatic-speech-recognition", "WajeehAzeemX/openai-whispersmall-finetuned-2000", torch_dtype=torch.float16, device="cpu")
8
  app = FastAPI()
9
 
10
  @app.post("/transcribe/")