mboushaba commited on
Commit
460f7e6
1 Parent(s): e7897ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,10 +18,10 @@ generate_kwargs = {
18
  "task": "transcribe"
19
  }
20
  # Initialize ASR pipeline
21
- asr_whisper_large = pipeline("automatic-speech-recognition", model = "openai/whisper-large-v3", device = 0,
22
  generate_kwargs = generate_kwargs)
23
  asr_whisper_large_turbo = pipeline("automatic-speech-recognition", model = "openai/whisper-large-v3-turbo",
24
- device = 0, generate_kwargs = generate_kwargs)
25
  normalizer = ArabicTextNormalizer()
26
 
27
 
 
18
  "task": "transcribe"
19
  }
20
  # Initialize ASR pipeline
21
+ asr_whisper_large = pipeline("automatic-speech-recognition", model = "openai/whisper-large-v3",
22
  generate_kwargs = generate_kwargs)
23
  asr_whisper_large_turbo = pipeline("automatic-speech-recognition", model = "openai/whisper-large-v3-turbo",
24
+ generate_kwargs = generate_kwargs)
25
  normalizer = ArabicTextNormalizer()
26
 
27