Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -232,9 +232,11 @@ with gr.Blocks() as video_all:
|
|
232 |
with gr.Column(scale=2):
|
233 |
with gr.Row():
|
234 |
output_score = gr.Textbox(label="scores")
|
|
|
235 |
output_statistics = gr.Plot(
|
236 |
label="Statistics of emotions", elem_classes="stat",visible=False,
|
237 |
)
|
|
|
238 |
output_audio=gr.Audio(interactive=False)
|
239 |
|
240 |
clear_1.click(
|
@@ -243,7 +245,7 @@ with gr.Blocks() as video_all:
|
|
243 |
outputs=[input_video,output_score,output_statistics,output_audio]
|
244 |
)
|
245 |
submit_1.click(
|
246 |
-
fn=
|
247 |
inputs=[input_video],
|
248 |
outputs=[
|
249 |
output_score,
|
|
|
232 |
with gr.Column(scale=2):
|
233 |
with gr.Row():
|
234 |
output_score = gr.Textbox(label="scores")
|
235 |
+
with gr.Row():
|
236 |
output_statistics = gr.Plot(
|
237 |
label="Statistics of emotions", elem_classes="stat",visible=False,
|
238 |
)
|
239 |
+
with gr.Row():
|
240 |
output_audio=gr.Audio(interactive=False)
|
241 |
|
242 |
clear_1.click(
|
|
|
245 |
outputs=[input_video,output_score,output_statistics,output_audio]
|
246 |
)
|
247 |
submit_1.click(
|
248 |
+
fn=video_score,
|
249 |
inputs=[input_video],
|
250 |
outputs=[
|
251 |
output_score,
|