Spaces:
vztu
/
Runtime error

vztu commited on
Commit
8e01aab
·
verified ·
1 Parent(s): 41fccad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Textbox(label="Scores")
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=[