teemosliang commited on
Commit
7b828f7
Β·
verified Β·
1 Parent(s): 4672a35

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
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
- with gr.Column():
1196
- output_image = gr.Image(label="Output with Keypoints", height=400)
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)
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
- with gr.Column():
1207
- output_video = gr.Video(label="Output Video with Keypoints", height=400)
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)
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