Spaces:
Runtime error
Runtime error
Update streamlitapp.py
Browse files- streamlitapp.py +1 -1
streamlitapp.py
CHANGED
@@ -44,7 +44,7 @@ if options:
|
|
44 |
st.info('π This is all the machine learning model sees when making a prediction')
|
45 |
video, annotations,image_data = load_data(tf.convert_to_tensor(file_path))
|
46 |
# st.text(video.shape)
|
47 |
-
imageio.mimsave('animation.gif',np.squeeze((video *
|
48 |
st.image('animation.gif', width=400)
|
49 |
|
50 |
st.info('This is the output of the machine learning model as tokens')
|
|
|
44 |
st.info('π This is all the machine learning model sees when making a prediction')
|
45 |
video, annotations,image_data = load_data(tf.convert_to_tensor(file_path))
|
46 |
# st.text(video.shape)
|
47 |
+
imageio.mimsave('animation.gif',np.squeeze((video * 20).astype(np.uint8)) , duration=100)
|
48 |
st.image('animation.gif', width=400)
|
49 |
|
50 |
st.info('This is the output of the machine learning model as tokens')
|