Spaces:
Sleeping
Sleeping
imports
Browse files
app.py
CHANGED
@@ -7,6 +7,8 @@ if os.getenv('SYSTEM') == 'spaces':
|
|
7 |
subprocess.call('pip install git+https://github.com/facebookresearch/segment-anything.git'.split())
|
8 |
subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
|
9 |
subprocess.call('pip install git+https://github.com/cocodataset/panopticapi.git'.split())
|
|
|
|
|
10 |
|
11 |
import gradio as gr
|
12 |
from huggingface_hub import snapshot_download
|
|
|
7 |
subprocess.call('pip install git+https://github.com/facebookresearch/segment-anything.git'.split())
|
8 |
subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
|
9 |
subprocess.call('pip install git+https://github.com/cocodataset/panopticapi.git'.split())
|
10 |
+
subprocess.call('pip install python-dotenv'.split())
|
11 |
+
subprocess.call('pip install torch torchvision '.split())
|
12 |
|
13 |
import gradio as gr
|
14 |
from huggingface_hub import snapshot_download
|