app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
import os
|
2 |
import gradio as gr
|
3 |
import sys
|
4 |
sys.path.append('./utils')
|
@@ -9,6 +8,7 @@ import io
|
|
9 |
try:
|
10 |
from ultralytics import YOLO
|
11 |
except ImportError:
|
|
|
12 |
os.system('pip install -e ./yolov8-to')
|
13 |
from ultralytics import YOLO
|
14 |
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import sys
|
3 |
sys.path.append('./utils')
|
|
|
8 |
try:
|
9 |
from ultralytics import YOLO
|
10 |
except ImportError:
|
11 |
+
import os
|
12 |
os.system('pip install -e ./yolov8-to')
|
13 |
from ultralytics import YOLO
|
14 |
|