Spaces:
Runtime error
Runtime error
Steven Zhang
commited on
Commit
•
c848353
1
Parent(s):
982a656
update requirements
Browse files- AudioToText/condensedmodel.py +0 -2
- requirements.txt +4 -1
AudioToText/condensedmodel.py
CHANGED
@@ -225,5 +225,3 @@ def AudioToTextUsingAPI(audio_file):
|
|
225 |
print(
|
226 |
'Could not request results from Google Speech Recognition service; {0}'.format(e)
|
227 |
)
|
228 |
-
|
229 |
-
print(AudioToTextUsingModel('AudioToText/test_audio.wav'))
|
|
|
225 |
print(
|
226 |
'Could not request results from Google Speech Recognition service; {0}'.format(e)
|
227 |
)
|
|
|
|
requirements.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
1 |
tensorflow==2.9.1
|
2 |
gdown==4.4.0
|
3 |
-
nltk==3.7
|
|
|
|
|
|
|
|
1 |
tensorflow==2.9.1
|
2 |
gdown==4.4.0
|
3 |
+
nltk==3.7
|
4 |
+
librosa==0.9.2
|
5 |
+
SpeechRecognition==3.8.1
|
6 |
+
pydub==0.25.1
|