Zevin2023 commited on
Commit
14e113a
·
verified ·
1 Parent(s): a18d809

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -3,8 +3,16 @@ import os
3
  if __name__ == '__main__':
4
  # Install the package in editable mode
5
  os.system("pip install -e .")
6
-
7
  os.system("pip install git+https://github.com/facebookresearch/segment-anything.git")
 
 
 
 
 
 
 
 
 
8
  # Install NVM (Node Version Manager)
9
  # os.system("curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash")
10
 
 
3
  if __name__ == '__main__':
4
  # Install the package in editable mode
5
  os.system("pip install -e .")
 
6
  os.system("pip install git+https://github.com/facebookresearch/segment-anything.git")
7
+
8
+ from zipfile import ZipFile
9
+ z = ZipFile("gradio.zip")
10
+ z.extractall()
11
+ os.chdir("gradio-bbox")
12
+ os.system("pip install -e .")
13
+ os.chdir("..")
14
+
15
+
16
  # Install NVM (Node Version Manager)
17
  # os.system("curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash")
18