Update app.py
Browse files
app.py
CHANGED
@@ -201,7 +201,7 @@ def inference_one_video(input_video):
|
|
201 |
]
|
202 |
|
203 |
image_path = create_bar_chart(normalized_scores, comparisons)
|
204 |
-
|
205 |
|
206 |
# Define the input and output types for Gradio using the new API
|
207 |
video_input = gr.Video(label="Input Video")
|
|
|
201 |
]
|
202 |
|
203 |
image_path = create_bar_chart(normalized_scores, comparisons)
|
204 |
+
return image_path, pred_score["semantic"], pred_score["technical"], pred_score["aesthetic"], pred_score["overall"]
|
205 |
|
206 |
# Define the input and output types for Gradio using the new API
|
207 |
video_input = gr.Video(label="Input Video")
|