Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,10 @@ from streamlit_webrtc import webrtc_streamer, AudioProcessorBase
|
|
9 |
import cv2
|
10 |
import numpy as np
|
11 |
import speech_recognition as sr
|
|
|
|
|
|
|
|
|
12 |
|
13 |
if "history" not in st.session_state:
|
14 |
st.session_state.history = []
|
|
|
9 |
import cv2
|
10 |
import numpy as np
|
11 |
import speech_recognition as sr
|
12 |
+
import subprocess
|
13 |
+
|
14 |
+
update_command = "sudo apt-get update && sudo apt-get upgrade"
|
15 |
+
subprocess.run(update_command, shell=True)
|
16 |
|
17 |
if "history" not in st.session_state:
|
18 |
st.session_state.history = []
|