Spaces:
Runtime error
Runtime error
Thomas Chaigneau
commited on
Commit
•
14cfc11
1
Parent(s):
00ce53c
fix inputs type
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def sequence_prediction(path):
|
|
104 |
article = article = "<div style='text-align: center;'><a href='https://github.com/ChainYo' target='_blank'>Space by Thomas Chaigneau</a><br><a href='https://keras.io/examples/vision/video_classification/' target='_blank'>Keras example by Sayak Paul</a></div>"
|
105 |
app = gr.Interface(
|
106 |
sequence_prediction,
|
107 |
-
inputs=[gr.inputs.Video(label="Video", type="
|
108 |
outputs=[gr.outputs.Label(label="Prediction", type="confidences")],
|
109 |
title="Keras Video Classification CNN-RNN model",
|
110 |
description="Keras Working Group",
|
|
|
104 |
article = article = "<div style='text-align: center;'><a href='https://github.com/ChainYo' target='_blank'>Space by Thomas Chaigneau</a><br><a href='https://keras.io/examples/vision/video_classification/' target='_blank'>Keras example by Sayak Paul</a></div>"
|
105 |
app = gr.Interface(
|
106 |
sequence_prediction,
|
107 |
+
inputs=[gr.inputs.Video(label="Video", type="mp4")],
|
108 |
outputs=[gr.outputs.Label(label="Prediction", type="confidences")],
|
109 |
title="Keras Video Classification CNN-RNN model",
|
110 |
description="Keras Working Group",
|