Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,12 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
# THE DIRECT LINK TO YOUR DATASET
|
| 4 |
BASE_URL = "https://huggingface.co/datasets/P3DInnovations/P3D-Innovations-Data/resolve/main/"
|
| 5 |
|
| 6 |
-
#
|
| 7 |
VIDEO_NAMES = [
|
| 8 |
"aiden no more gpt Recording 2025-12-14 065150.mp4",
|
|
|
|
| 9 |
"S1 Recording 2025-12-14 172126.mp4",
|
| 10 |
"s2 Recording 2025-12-14 174737.mp4",
|
| 11 |
"s3 Recording 2025-12-14 182201.mp4",
|
|
@@ -19,7 +20,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 19 |
|
| 20 |
with gr.Column():
|
| 21 |
for name in VIDEO_NAMES:
|
| 22 |
-
#
|
| 23 |
video_url = BASE_URL + name.replace(" ", "%20")
|
| 24 |
gr.Video(value=video_url, label=f"Archive Entry: {name}")
|
| 25 |
gr.Markdown("---")
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
# THE DIRECT LINK TO YOUR SECURED DATASET
|
| 4 |
BASE_URL = "https://huggingface.co/datasets/P3DInnovations/P3D-Innovations-Data/resolve/main/"
|
| 5 |
|
| 6 |
+
# Exact filenames verified from your 1.63 GB dataset
|
| 7 |
VIDEO_NAMES = [
|
| 8 |
"aiden no more gpt Recording 2025-12-14 065150.mp4",
|
| 9 |
+
"disclaimer one Recording 2025-12-14 170202.mp4",
|
| 10 |
"S1 Recording 2025-12-14 172126.mp4",
|
| 11 |
"s2 Recording 2025-12-14 174737.mp4",
|
| 12 |
"s3 Recording 2025-12-14 182201.mp4",
|
|
|
|
| 20 |
|
| 21 |
with gr.Column():
|
| 22 |
for name in VIDEO_NAMES:
|
| 23 |
+
# Encodes spaces so the browser can find the files in the dataset
|
| 24 |
video_url = BASE_URL + name.replace(" ", "%20")
|
| 25 |
gr.Video(value=video_url, label=f"Archive Entry: {name}")
|
| 26 |
gr.Markdown("---")
|