Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import os
|
2 |
-
os.system('pip install torch
|
3 |
-
os.system('
|
4 |
-
https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.9/index.html')
|
5 |
|
6 |
import gradio as gr
|
7 |
import torch
|
|
|
1 |
import os
|
2 |
+
os.system('pip install torch torchvision')
|
3 |
+
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
|
|
4 |
|
5 |
import gradio as gr
|
6 |
import torch
|