elina12 commited on
Commit
5f76b74
·
1 Parent(s): 796677f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ from transformers import pipeline
21
  model_id = "tarteel-ai/whisper-base-ar-quran" # update with your model id
22
  pipe = pipeline("automatic-speech-recognition", model=model_id)
23
 
24
- def transcribe_speech(filepath):
25
  output = pipe(
26
  filepath,
27
  max_new_tokens=10000,
 
21
  model_id = "tarteel-ai/whisper-base-ar-quran" # update with your model id
22
  pipe = pipeline("automatic-speech-recognition", model=model_id)
23
 
24
+ def transcribe(filepath):
25
  output = pipe(
26
  filepath,
27
  max_new_tokens=10000,