mamechin
commited on
Commit
·
b30795f
1
Parent(s):
45b9e55
v8
Browse files- app.py +5 -5
- requirement,txt +1 -1
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
-
from
|
3 |
-
import torch
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
"""
|
8 |
Predict model output
|
9 |
"""
|
|
|
1 |
import gradio as gr
|
2 |
+
from ultralytics import YOLO
|
3 |
+
# import torch
|
4 |
+
model = YOLO('best.pt')
|
5 |
+
|
6 |
+
predict(input_image):
|
7 |
"""
|
8 |
Predict model output
|
9 |
"""
|
requirement,txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
gradio
|
2 |
-
|
|
|
1 |
gradio
|
2 |
+
ultralytics
|