Spaces:
Runtime error
Runtime error
Update page/intro.py
Browse files- page/intro.py +3 -3
page/intro.py
CHANGED
|
@@ -60,7 +60,7 @@ def app():
|
|
| 60 |
#Array of image objects
|
| 61 |
images = []
|
| 62 |
|
| 63 |
-
for i in range(
|
| 64 |
files.append( randomFile(i) )
|
| 65 |
|
| 66 |
placeholder = st.empty()
|
|
@@ -109,7 +109,7 @@ def app():
|
|
| 109 |
|
| 110 |
for column in columns2:
|
| 111 |
with column:
|
| 112 |
-
for i in range(
|
| 113 |
|
| 114 |
images.append( st.empty() )
|
| 115 |
|
|
@@ -121,7 +121,7 @@ def app():
|
|
| 121 |
last = -1
|
| 122 |
|
| 123 |
while(True):
|
| 124 |
-
ch = random.randrange(
|
| 125 |
with images[ch].container():
|
| 126 |
st.image(randomFile(ch))
|
| 127 |
time.sleep(0.33)
|
|
|
|
| 60 |
#Array of image objects
|
| 61 |
images = []
|
| 62 |
|
| 63 |
+
for i in range(30):
|
| 64 |
files.append( randomFile(i) )
|
| 65 |
|
| 66 |
placeholder = st.empty()
|
|
|
|
| 109 |
|
| 110 |
for column in columns2:
|
| 111 |
with column:
|
| 112 |
+
for i in range(4):
|
| 113 |
|
| 114 |
images.append( st.empty() )
|
| 115 |
|
|
|
|
| 121 |
last = -1
|
| 122 |
|
| 123 |
while(True):
|
| 124 |
+
ch = random.randrange(30)
|
| 125 |
with images[ch].container():
|
| 126 |
st.image(randomFile(ch))
|
| 127 |
time.sleep(0.33)
|