Spaces:
Runtime error
Runtime error
Thomas Chaigneau
commited on
Commit
•
643e780
1
Parent(s):
7a6fb20
update app
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ model = from_pretrained_keras("keras-io/video-classification-cnn-rnn")
|
|
24 |
samples = []
|
25 |
for file in os.listdir("samples"):
|
26 |
tag = file.split("_")[1]
|
27 |
-
samples.append([f"samples/{file}"
|
28 |
|
29 |
|
30 |
def crop_center_square(frame):
|
@@ -110,4 +110,4 @@ app = gr.Interface(
|
|
110 |
description="Keras Working Group",
|
111 |
article=article,
|
112 |
examples=samples
|
113 |
-
).launch(enable_queue=True)
|
|
|
24 |
samples = []
|
25 |
for file in os.listdir("samples"):
|
26 |
tag = file.split("_")[1]
|
27 |
+
samples.append([f"samples/{file}"])
|
28 |
|
29 |
|
30 |
def crop_center_square(frame):
|
|
|
110 |
description="Keras Working Group",
|
111 |
article=article,
|
112 |
examples=samples
|
113 |
+
).launch(enable_queue=True)
|