AymanKUMA commited on
Commit
bf8129e
1 Parent(s): f65935e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1,7 +1,15 @@
 
1
  from ultralytics import YOLO
2
  import streamlit as st
3
  from PIL import Image
4
 
 
 
 
 
 
 
 
5
  if __name__ == '__main__':
6
 
7
  st.set_page_config(layout="wide")
 
1
+ import subprocess
2
  from ultralytics import YOLO
3
  import streamlit as st
4
  from PIL import Image
5
 
6
+
7
+ # Command to install ultalytics using pip
8
+ install_command = "pip install ultalytics"
9
+
10
+ # Use subprocess to execute the command
11
+ subprocess.run(install_command, shell=True)
12
+
13
  if __name__ == '__main__':
14
 
15
  st.set_page_config(layout="wide")