Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -174,11 +174,11 @@ speech = gr.Interface(
|
|
174 |
],
|
175 |
)
|
176 |
############################################################
|
177 |
-
with gr.Blocks() as
|
178 |
with gr.Row():
|
179 |
with gr.Column(scale=2):
|
180 |
input_video = gr.Video(
|
181 |
-
sources=["
|
182 |
)
|
183 |
with gr.Row():
|
184 |
clear_1 = gr.Button(
|
@@ -201,7 +201,7 @@ with gr.Blocks() as video_score:
|
|
201 |
submit_1.click(
|
202 |
fn=video_score,
|
203 |
inputs=[input_video],
|
204 |
-
outputs=[score1,score2,result3]
|
205 |
)
|
206 |
|
207 |
|
|
|
174 |
],
|
175 |
)
|
176 |
############################################################
|
177 |
+
with gr.Blocks() as video_all:
|
178 |
with gr.Row():
|
179 |
with gr.Column(scale=2):
|
180 |
input_video = gr.Video(
|
181 |
+
sources=["webcam"], elem_classes="video1", format='mp4'
|
182 |
)
|
183 |
with gr.Row():
|
184 |
clear_1 = gr.Button(
|
|
|
201 |
submit_1.click(
|
202 |
fn=video_score,
|
203 |
inputs=[input_video],
|
204 |
+
outputs=[score1,score2,result3],
|
205 |
)
|
206 |
|
207 |
|