Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks() as demo:
|
|
65 |
with gr.Row():
|
66 |
image = gr.File(label="Upload Image", type="binary")
|
67 |
output_image = gr.Image(label="Estimation Result")
|
68 |
-
output_json = gr.File(label="Download Pose Data as JSON", type="
|
69 |
submit_button = gr.Button("Start Estimation")
|
70 |
|
71 |
# Run pose estimation and display results when the button is clicked
|
|
|
65 |
with gr.Row():
|
66 |
image = gr.File(label="Upload Image", type="binary")
|
67 |
output_image = gr.Image(label="Estimation Result")
|
68 |
+
output_json = gr.File(label="Download Pose Data as JSON", type="filepath") # Add JSON output
|
69 |
submit_button = gr.Button("Start Estimation")
|
70 |
|
71 |
# Run pose estimation and display results when the button is clicked
|