Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ if HF_TOKEN:
|
|
11 |
|
12 |
# Load model from your private repo
|
13 |
MODEL_ID = "badrex/JASR" # Change this to match your repo!
|
14 |
-
transcriber = pipeline("automatic-speech-recognition", model=MODEL_ID,
|
15 |
|
16 |
def transcribe(audio):
|
17 |
sr, y = audio
|
|
|
11 |
|
12 |
# Load model from your private repo
|
13 |
MODEL_ID = "badrex/JASR" # Change this to match your repo!
|
14 |
+
transcriber = pipeline("automatic-speech-recognition", model=MODEL_ID, token=HF_TOKEN)
|
15 |
|
16 |
def transcribe(audio):
|
17 |
sr, y = audio
|