laizeqiang commited on
Commit
5bb677e
1 Parent(s): ee25e9d

fix import

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import os
3
  os.environ['CURL_CA_BUNDLE'] = ''
4
 
5
  try:
6
- import detectron
7
  except:
8
  os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
9
 
3
  os.environ['CURL_CA_BUNDLE'] = ''
4
 
5
  try:
6
+ import detectron2
7
  except:
8
  os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
9