pratikshahp commited on
Commit
6134bda
·
verified ·
1 Parent(s): bb3661b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ import streamlit as st
8
  from audio_recorder_streamlit import audio_recorder
9
  from langdetect import detect
10
  # Use a pipeline as a high-level helper
11
- from transformers import pipeline
12
- pipe = pipeline("automatic-speech-recognition", model="openai/whisper-large")
13
  # Load model directly
14
  from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
15
 
 
8
  from audio_recorder_streamlit import audio_recorder
9
  from langdetect import detect
10
  # Use a pipeline as a high-level helper
11
+ #from transformers import pipeline
12
+ #pipe = pipeline("automatic-speech-recognition", model="openai/whisper-large")
13
  # Load model directly
14
  from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
15