Spaces:
Build error
Build error
Do not cache examples anymore.
Browse files
app.py
CHANGED
@@ -91,17 +91,13 @@ with open('apb2022.json', "r") as json_file:
|
|
91 |
TARGET_ENTRIES = json.load(json_file)
|
92 |
|
93 |
EXAMPLE_VIDEO_URLS = ["https://drive.google.com/uc?id=1Y1-ypXOvLrp1x0cjAe_hMobCEdA0UbEo&export=download",
|
94 |
-
|
95 |
-
|
96 |
-
"https://www.dropbox.com/s/rzmicviu1fe740t/Bram%20van%20Ojik%20krijgt%20reprimande.mp4?dl=1",
|
97 |
-
"https://www.dropbox.com/s/wcot34ldmb84071/Baudet%20ontmaskert%20Omtzigt_%20u%20bent%20door%20de%20mand%20gevallen%21.mp4?dl=1",
|
98 |
-
"https://drive.google.com/uc?id=1XW0niHR1k09vPNv1cp6NvdGXe7FHJc1D&export=download",
|
99 |
-
"https://www.dropbox.com/s/4ognq8lshcujk43/Plenaire_zaal_20200923132426_Omtzigt.mp4?dl=1"]
|
100 |
|
101 |
index_iface = gr.Interface(fn=lambda url: index_hashes_for_video(url).ntotal,
|
102 |
inputs="text",
|
103 |
outputs="text",
|
104 |
-
examples=EXAMPLE_VIDEO_URLS
|
105 |
|
106 |
# compare_iface = gr.Interface(fn=get_comparison,
|
107 |
# inputs=["text", "text", gr.Slider(2, 30, 4, step=2)],
|
|
|
91 |
TARGET_ENTRIES = json.load(json_file)
|
92 |
|
93 |
EXAMPLE_VIDEO_URLS = ["https://drive.google.com/uc?id=1Y1-ypXOvLrp1x0cjAe_hMobCEdA0UbEo&export=download",
|
94 |
+
"https://video.twimg.com/amplify_video/1575576025651617796/vid/480x852/jP057nPfPJSUM0kR.mp4?tag=14",
|
95 |
+
"https://drive.google.com/uc?id=1XW0niHR1k09vPNv1cp6NvdGXe7FHJc1D&export=download"]
|
|
|
|
|
|
|
|
|
96 |
|
97 |
index_iface = gr.Interface(fn=lambda url: index_hashes_for_video(url).ntotal,
|
98 |
inputs="text",
|
99 |
outputs="text",
|
100 |
+
examples=EXAMPLE_VIDEO_URLS)
|
101 |
|
102 |
# compare_iface = gr.Interface(fn=get_comparison,
|
103 |
# inputs=["text", "text", gr.Slider(2, 30, 4, step=2)],
|