rashmi commited on
Commit
e827633
1 Parent(s): c37384b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
 
1
  import os
2
  os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
3
  os.system('pip install torch==1.9.0 torchvision==0.10.0')
4
- os.system('pip install opencv-python')
5
 
6
  import gradio as gr
7
  # check pytorch installation:
 
1
+ import cv2
2
  import os
3
  os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
4
  os.system('pip install torch==1.9.0 torchvision==0.10.0')
5
+
6
 
7
  import gradio as gr
8
  # check pytorch installation: