Jack Monas
commited on
Commit
·
3aac702
1
Parent(s):
f33b08d
gif
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import pandas as pd
|
|
3 |
import streamlit.components.v1 as components
|
4 |
import glob
|
5 |
import os
|
|
|
6 |
|
7 |
def scoring_section():
|
8 |
# Title
|
@@ -79,7 +80,8 @@ def main():
|
|
79 |
gif_folder = "assets/v1.0"
|
80 |
|
81 |
# Get all GIF file paths from the folder, sorted by name
|
82 |
-
gif_paths =
|
|
|
83 |
|
84 |
# Display 4 GIFs per row
|
85 |
for i in range(0, 16, 4):
|
|
|
3 |
import streamlit.components.v1 as components
|
4 |
import glob
|
5 |
import os
|
6 |
+
import random
|
7 |
|
8 |
def scoring_section():
|
9 |
# Title
|
|
|
80 |
gif_folder = "assets/v1.0"
|
81 |
|
82 |
# Get all GIF file paths from the folder, sorted by name
|
83 |
+
gif_paths = glob.glob(os.path.join(gif_folder, "*.gif"))
|
84 |
+
random.shuffle(gif_paths)
|
85 |
|
86 |
# Display 4 GIFs per row
|
87 |
for i in range(0, 16, 4):
|