Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
import gradio as gr
|
| 2 |
from ImageAnnotator import image_annotate
|
| 3 |
from PoseAnnotator import pose_annotate
|
|
|
|
| 4 |
|
| 5 |
objectDetector = gr.Interface(
|
| 6 |
fn = image_annotate,
|
|
@@ -30,7 +30,7 @@ poseDetector = gr.Interface(
|
|
| 30 |
outputs = gr.Image(label = "Annotated Image"),
|
| 31 |
)
|
| 32 |
|
| 33 |
-
app = gr.TabbedInterface([objectDetector,poseDetector],["Object Detection","Pose Detection"])
|
| 34 |
|
| 35 |
if __name__ == "__main__":
|
| 36 |
app.launch(mcp_server = True)
|
|
|
|
|
|
|
| 1 |
from ImageAnnotator import image_annotate
|
| 2 |
from PoseAnnotator import pose_annotate
|
| 3 |
+
import gradio as gr
|
| 4 |
|
| 5 |
objectDetector = gr.Interface(
|
| 6 |
fn = image_annotate,
|
|
|
|
| 30 |
outputs = gr.Image(label = "Annotated Image"),
|
| 31 |
)
|
| 32 |
|
| 33 |
+
app = gr.TabbedInterface([objectDetector,poseDetector],["Object Detection","Pose Detection"], theme = "gstaff/sketch")
|
| 34 |
|
| 35 |
if __name__ == "__main__":
|
| 36 |
app.launch(mcp_server = True)
|