Update app.py
Browse files
app.py
CHANGED
@@ -5,14 +5,18 @@ if __name__ == '__main__':
|
|
5 |
# Install the package in editable mode
|
6 |
os.system("pip install -e .")
|
7 |
os.system("pip install git+https://github.com/facebookresearch/segment-anything.git")
|
|
|
8 |
|
9 |
from zipfile import ZipFile
|
10 |
z = ZipFile("gradio.zip")
|
11 |
z.extractall()
|
12 |
os.chdir("gradio-bbox")
|
13 |
os.system("pip install -e .")
|
|
|
|
|
14 |
sys.path.append(os.getcwd())
|
15 |
os.chdir("..")
|
|
|
16 |
|
17 |
|
18 |
# Install NVM (Node Version Manager)
|
|
|
5 |
# Install the package in editable mode
|
6 |
os.system("pip install -e .")
|
7 |
os.system("pip install git+https://github.com/facebookresearch/segment-anything.git")
|
8 |
+
os.system("pip uninstall gradio")
|
9 |
|
10 |
from zipfile import ZipFile
|
11 |
z = ZipFile("gradio.zip")
|
12 |
z.extractall()
|
13 |
os.chdir("gradio-bbox")
|
14 |
os.system("pip install -e .")
|
15 |
+
print('path: -----', os.getcwd())
|
16 |
+
|
17 |
sys.path.append(os.getcwd())
|
18 |
os.chdir("..")
|
19 |
+
print('path: -----', os.getcwd())
|
20 |
|
21 |
|
22 |
# Install NVM (Node Version Manager)
|