Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,6 @@ st.markdown(""
|
|
30 |
|
31 |
import numpy as np
|
32 |
from array2gif import write_gif
|
33 |
-
|
34 |
dataset = [
|
35 |
np.array([
|
36 |
[[255, 0, 0], [255, 0, 0]], # red intensities
|
@@ -44,6 +43,7 @@ dataset = [
|
|
44 |
])
|
45 |
]
|
46 |
write_gif(dataset, 'rgbbgr.gif', fps=5)
|
47 |
-
|
48 |
# or for just a still GIF
|
49 |
-
write_gif(dataset[0], 'rgb.gif')
|
|
|
|
|
|
30 |
|
31 |
import numpy as np
|
32 |
from array2gif import write_gif
|
|
|
33 |
dataset = [
|
34 |
np.array([
|
35 |
[[255, 0, 0], [255, 0, 0]], # red intensities
|
|
|
43 |
])
|
44 |
]
|
45 |
write_gif(dataset, 'rgbbgr.gif', fps=5)
|
|
|
46 |
# or for just a still GIF
|
47 |
+
write_gif(dataset[0], 'rgb.gif')
|
48 |
+
st.markdown("")
|
49 |
+
st.markdown("")
|