Jack Monas
commited on
Commit
·
28a221f
1
Parent(s):
65cfacd
gif
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ def main():
|
|
| 82 |
gif_paths = sorted(glob.glob(os.path.join(gif_folder, "*.gif")))
|
| 83 |
|
| 84 |
# Display 4 GIFs per row
|
| 85 |
-
for i in range(0,
|
| 86 |
# Slice out a batch of 4 GIFs
|
| 87 |
row_gifs = gif_paths[i:i+4]
|
| 88 |
|
|
@@ -91,7 +91,7 @@ def main():
|
|
| 91 |
|
| 92 |
# Display each GIF in its own column
|
| 93 |
for col, gif_path in zip(cols, row_gifs):
|
| 94 |
-
col.image(gif_path,
|
| 95 |
|
| 96 |
|
| 97 |
st.markdown("---")
|
|
|
|
| 82 |
gif_paths = sorted(glob.glob(os.path.join(gif_folder, "*.gif")))
|
| 83 |
|
| 84 |
# Display 4 GIFs per row
|
| 85 |
+
for i in range(0, 4, 4):
|
| 86 |
# Slice out a batch of 4 GIFs
|
| 87 |
row_gifs = gif_paths[i:i+4]
|
| 88 |
|
|
|
|
| 91 |
|
| 92 |
# Display each GIF in its own column
|
| 93 |
for col, gif_path in zip(cols, row_gifs):
|
| 94 |
+
col.image(gif_path, use_container_width=True)
|
| 95 |
|
| 96 |
|
| 97 |
st.markdown("---")
|