Spaces:
Sleeping
Sleeping
Commit
·
9f95d71
1
Parent(s):
320e714
update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
|
3 |
os.system("sudo apt-get update")
|
4 |
os.system("apt install libasound2-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg")
|
5 |
-
import sounddevice as sd
|
6 |
import speech_recognition as sr
|
7 |
def takeCommand(audio):
|
8 |
r = sr.Recognizer()
|
|
|
2 |
|
3 |
os.system("sudo apt-get update")
|
4 |
os.system("apt install libasound2-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg")
|
5 |
+
# import sounddevice as sd
|
6 |
import speech_recognition as sr
|
7 |
def takeCommand(audio):
|
8 |
r = sr.Recognizer()
|