rajsecrets0 commited on
Commit
23e8ef0
·
verified ·
1 Parent(s): e549af3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,9 +1,11 @@
 
1
  import streamlit as st
2
  import speech_recognition as sr
3
  import os
4
  import tempfile
5
  import librosa
6
  import soundfile as sf
 
7
  def convert_to_wav(audio_file):
8
  # Load the audio file
9
  y, sr = librosa.load(audio_file, sr=None)
 
1
+ import numpy as np
2
  import streamlit as st
3
  import speech_recognition as sr
4
  import os
5
  import tempfile
6
  import librosa
7
  import soundfile as sf
8
+
9
  def convert_to_wav(audio_file):
10
  # Load the audio file
11
  y, sr = librosa.load(audio_file, sr=None)