Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
|
@@ -1192,22 +1192,22 @@ def create_gradio_interface():
|
|
| 1192 |
with gr.Tab("π· Image"):
|
| 1193 |
with gr.Row():
|
| 1194 |
input_image = gr.Image(label="Input Image", type="numpy", height=400)
|
| 1195 |
-
|
| 1196 |
-
|
| 1197 |
-
|
| 1198 |
-
|
| 1199 |
-
|
| 1200 |
|
| 1201 |
run_image_btn = gr.Button("π Run Image Inference", variant="primary", size="lg")
|
| 1202 |
|
| 1203 |
with gr.Tab("π¬ Video"):
|
| 1204 |
with gr.Row():
|
| 1205 |
input_video = gr.Video(label="Input Video", height=400)
|
| 1206 |
-
|
| 1207 |
-
|
| 1208 |
-
|
| 1209 |
-
|
| 1210 |
-
|
| 1211 |
|
| 1212 |
run_video_btn = gr.Button("π¬ Run Video Inference", variant="primary", size="lg")
|
| 1213 |
|
|
|
|
| 1192 |
with gr.Tab("π· Image"):
|
| 1193 |
with gr.Row():
|
| 1194 |
input_image = gr.Image(label="Input Image", type="numpy", height=400)
|
| 1195 |
+
output_image = gr.Image(label="Output with Keypoints", height=400)
|
| 1196 |
+
|
| 1197 |
+
with gr.Row():
|
| 1198 |
+
output_json = gr.File(label="π₯ Download JSON", scale=1)
|
| 1199 |
+
image_info = gr.Textbox(label="Detection Results", lines=6, max_lines=10, scale=1)
|
| 1200 |
|
| 1201 |
run_image_btn = gr.Button("π Run Image Inference", variant="primary", size="lg")
|
| 1202 |
|
| 1203 |
with gr.Tab("π¬ Video"):
|
| 1204 |
with gr.Row():
|
| 1205 |
input_video = gr.Video(label="Input Video", height=400)
|
| 1206 |
+
output_video = gr.Video(label="Output Video with Keypoints", height=400)
|
| 1207 |
+
|
| 1208 |
+
with gr.Row():
|
| 1209 |
+
output_video_file = gr.File(label="π₯ Download Processed Video", scale=1)
|
| 1210 |
+
video_info = gr.Textbox(label="Processing Results", lines=6, max_lines=10, scale=1)
|
| 1211 |
|
| 1212 |
run_video_btn = gr.Button("π¬ Run Video Inference", variant="primary", size="lg")
|
| 1213 |
|