Update app.py
Browse files
app.py
CHANGED
@@ -206,7 +206,7 @@ def inference_one_video(input_video):
|
|
206 |
# Define the input and output types for Gradio using the new API
|
207 |
video_input = gr.Video(label="Input Video")
|
208 |
output_image = gr.Image(label="Scores")
|
209 |
-
output_scores = gr.
|
210 |
|
211 |
# Create the Gradio interface
|
212 |
gradio_app = gr.Interface(fn=inference_one_video, inputs=video_input, outputs=[
|
|
|
206 |
# Define the input and output types for Gradio using the new API
|
207 |
video_input = gr.Video(label="Input Video")
|
208 |
output_image = gr.Image(label="Scores")
|
209 |
+
output_scores = gr.JSON(label="Scores")
|
210 |
|
211 |
# Create the Gradio interface
|
212 |
gradio_app = gr.Interface(fn=inference_one_video, inputs=video_input, outputs=[
|