salomonsky commited on
Commit
4773685
·
verified ·
1 Parent(s): d73efc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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 = []