Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,15 +6,12 @@ import os
|
|
6 |
|
7 |
# Sample media paths and thumbnails
|
8 |
sample_images = {
|
9 |
-
"Sample Image 1": ("samples/sample_image_1.jpg", "samples/sample_image_1_thumb.jpg")
|
10 |
-
|
11 |
-
"Sample Image 3": ("samples/sample_image_3.jpg", "samples/sample_image_3_thumb.jpg")
|
12 |
}
|
13 |
|
14 |
sample_videos = {
|
15 |
-
"Sample Video 1": ("samples/sample_video_1.mp4", "samples/sample_video_1_thumb.jpg")
|
16 |
-
"Sample Video 2": ("samples/sample_video_2.mp4", "samples/sample_video_2_thumb.jpg"),
|
17 |
-
"Sample Video 3": ("samples/sample_video_3.mp4", "samples/sample_video_3_thumb.jpg")
|
18 |
}
|
19 |
|
20 |
def load_model(model_name):
|
|
|
6 |
|
7 |
# Sample media paths and thumbnails
|
8 |
sample_images = {
|
9 |
+
"Sample Image 1": ("samples/sample_image_1.jpg", "samples/sample_image_1_thumb.jpg")
|
10 |
+
|
|
|
11 |
}
|
12 |
|
13 |
sample_videos = {
|
14 |
+
"Sample Video 1": ("samples/sample_video_1.mp4", "samples/sample_video_1_thumb.jpg")
|
|
|
|
|
15 |
}
|
16 |
|
17 |
def load_model(model_name):
|