pacman2223 commited on
Commit
e61f26a
·
verified ·
1 Parent(s): 57cc4f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import os
2
- os.system('pip install torch==1.9.0 torchvision==0.10.0')
3
- os.system('python -m pip install detectron2==0.6 -f \
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