Spaces:
Paused
Paused
laizeqiang
commited on
Commit
·
5bb677e
1
Parent(s):
ee25e9d
fix import
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import os
|
|
| 3 |
os.environ['CURL_CA_BUNDLE'] = ''
|
| 4 |
|
| 5 |
try:
|
| 6 |
-
import
|
| 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 |
|