7H4M3R commited on
Commit
e900791
·
verified ·
1 Parent(s): bb34401

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +4 -4
src/streamlit_app.py CHANGED
@@ -113,10 +113,10 @@ if st.button("Analyze"):
113
  # pass
114
 
115
  with st.spinner("Transcribing with Whisper..."):
116
- # whisper_model = whisper.load_model("base")
117
- # result = whisper_model.transcribe(audio_path)
118
- # transcription = result['text']
119
- transcription = "Hello There"
120
  # pass
121
 
122
  with st.spinner("Classifying accent..."):
 
113
  # pass
114
 
115
  with st.spinner("Transcribing with Whisper..."):
116
+ whisper_model = whisper.load_model("base")
117
+ result = whisper_model.transcribe(audio_path)
118
+ transcription = result['text']
119
+ # transcription = "Hello There"
120
  # pass
121
 
122
  with st.spinner("Classifying accent..."):