Spaces:
Running
Running
dev(narugo): 1 more
Browse files- app2.py +3 -2
- detection/__init__.py +1 -0
app2.py
CHANGED
@@ -2,7 +2,8 @@ import os
|
|
2 |
|
3 |
import gradio as gr
|
4 |
|
5 |
-
from detection import EyesDetection, FaceDetection, HeadDetection, PersonDetection, HandDetection, CensorDetection
|
|
|
6 |
|
7 |
_GLOBAL_CSS = """
|
8 |
.limit-height {
|
@@ -20,7 +21,7 @@ if __name__ == '__main__':
|
|
20 |
with gr.Tab('Person Detection'):
|
21 |
PersonDetection().make_ui()
|
22 |
with gr.Tab('Half Body Detection'):
|
23 |
-
|
24 |
with gr.Tab('Eyes Detection'):
|
25 |
EyesDetection().make_ui()
|
26 |
with gr.Tab('Hand Detection'):
|
|
|
2 |
|
3 |
import gradio as gr
|
4 |
|
5 |
+
from detection import EyesDetection, FaceDetection, HeadDetection, PersonDetection, HandDetection, CensorDetection, \
|
6 |
+
HalfBodyDetection
|
7 |
|
8 |
_GLOBAL_CSS = """
|
9 |
.limit-height {
|
|
|
21 |
with gr.Tab('Person Detection'):
|
22 |
PersonDetection().make_ui()
|
23 |
with gr.Tab('Half Body Detection'):
|
24 |
+
HalfBodyDetection().make_ui()
|
25 |
with gr.Tab('Eyes Detection'):
|
26 |
EyesDetection().make_ui()
|
27 |
with gr.Tab('Hand Detection'):
|
detection/__init__.py
CHANGED
@@ -2,6 +2,7 @@ from .base import ObjectDetection, DeepGHSObjectDetection
|
|
2 |
from .censor import CensorDetection
|
3 |
from .eyes import EyesDetection
|
4 |
from .face import FaceDetection
|
|
|
5 |
from .hand import HandDetection
|
6 |
from .head import HeadDetection
|
7 |
from .person import PersonDetection
|
|
|
2 |
from .censor import CensorDetection
|
3 |
from .eyes import EyesDetection
|
4 |
from .face import FaceDetection
|
5 |
+
from .halfbody import HalfBodyDetection
|
6 |
from .hand import HandDetection
|
7 |
from .head import HeadDetection
|
8 |
from .person import PersonDetection
|