Update app.py
Browse files
app.py
CHANGED
|
@@ -11,12 +11,18 @@ except:
|
|
| 11 |
os.system('python -m pip install -e detectron2')
|
| 12 |
import detectron2
|
| 13 |
from detectron2 import config
|
| 14 |
-
|
|
|
|
| 15 |
import gradio as gr
|
|
|
|
| 16 |
import numpy as np
|
|
|
|
| 17 |
import cv2
|
|
|
|
| 18 |
import torch
|
|
|
|
| 19 |
from os import path
|
|
|
|
| 20 |
from detectron2.config import get_cfg
|
| 21 |
from GLEE.glee.models.glee_model import GLEE_Model
|
| 22 |
from GLEE.glee.config_deeplab import add_deeplab_config
|
|
|
|
| 11 |
os.system('python -m pip install -e detectron2')
|
| 12 |
import detectron2
|
| 13 |
from detectron2 import config
|
| 14 |
+
|
| 15 |
+
print("gradio...")
|
| 16 |
import gradio as gr
|
| 17 |
+
print("numpy...")
|
| 18 |
import numpy as np
|
| 19 |
+
print("cv2...")
|
| 20 |
import cv2
|
| 21 |
+
print("torch...")
|
| 22 |
import torch
|
| 23 |
+
print("path...")
|
| 24 |
from os import path
|
| 25 |
+
print("detectron2...")
|
| 26 |
from detectron2.config import get_cfg
|
| 27 |
from GLEE.glee.models.glee_model import GLEE_Model
|
| 28 |
from GLEE.glee.config_deeplab import add_deeplab_config
|