Spaces:
Sleeping
Sleeping
Commit
·
67965ba
1
Parent(s):
eea4d57
update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
import sounddevice as sd
|
2 |
import speech_recognition as sr
|
3 |
def takeCommand(audio):
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
+
|
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):
|