Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,10 +91,10 @@ if user_image_object is not None:
|
|
| 91 |
|
| 92 |
'''Show some demos: '''
|
| 93 |
|
| 94 |
-
#Uncomment this if to show some sample images of the gif
|
| 95 |
-
if len(img_array) > 7:
|
| 96 |
-
|
| 97 |
-
|
| 98 |
|
| 99 |
#HuggingFaces Spaces can create a video vile ephemerally but doesn't actually save one that we can access.
|
| 100 |
#So to show the video/gif we save it as a file then open that file to show it in streamlit
|
|
|
|
| 91 |
|
| 92 |
'''Show some demos: '''
|
| 93 |
|
| 94 |
+
#Uncomment this if statement to show some sample images of the gif
|
| 95 |
+
#if len(img_array) > 7:
|
| 96 |
+
# for ii in [1, 4, 7]:
|
| 97 |
+
# st.image( img_array[ii] )
|
| 98 |
|
| 99 |
#HuggingFaces Spaces can create a video vile ephemerally but doesn't actually save one that we can access.
|
| 100 |
#So to show the video/gif we save it as a file then open that file to show it in streamlit
|