Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ if user_image_object is not None:
|
|
87 |
height, width, layers = bgr_new.shape
|
88 |
size = (width,height)
|
89 |
|
90 |
-
st.write("len(img_array) = ", len(img_array) )
|
91 |
|
92 |
'''Show some demos: '''
|
93 |
|
@@ -99,7 +99,7 @@ if user_image_object is not None:
|
|
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
|
101 |
|
102 |
-
st.text("Generating GIF, may take a minute")
|
103 |
|
104 |
#Create GIF
|
105 |
img, *imgs = [Image.open(f) for f in output_filename_array]
|
|
|
87 |
height, width, layers = bgr_new.shape
|
88 |
size = (width,height)
|
89 |
|
90 |
+
st.write("This algorithm creates a GIF from images by creating hue shifted aka different color images from your input images bases on the parameters you chose in the slider above. The current set of parameters yields this many images: len(img_array) = ", len(img_array) , " So you GIF will be a composite of this many images changing color.)
|
91 |
|
92 |
'''Show some demos: '''
|
93 |
|
|
|
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
|
101 |
|
102 |
+
st.text("Generating GIF, may take a minute. You should see it appear on screen. ")
|
103 |
|
104 |
#Create GIF
|
105 |
img, *imgs = [Image.open(f) for f in output_filename_array]
|