Spaces:
Runtime error
Runtime error
Update Home.py
Browse files
Home.py
CHANGED
@@ -150,7 +150,7 @@ if uploaded_file is not None:
|
|
150 |
run = ste.download_button(button_text="Download Image", data=byte_im, download_filename='afrodreams.jpg', mime="image/png")
|
151 |
|
152 |
|
153 |
-
if run==True
|
154 |
# selectiuing random iamges to be displayed
|
155 |
img_names = [os.path.join('generated_samples', img) for img in os.listdir('generated_samples')]
|
156 |
five_rand_imgs1 = get_random_subset(img_names, 5)
|
|
|
150 |
run = ste.download_button(button_text="Download Image", data=byte_im, download_filename='afrodreams.jpg', mime="image/png")
|
151 |
|
152 |
|
153 |
+
if run==True:
|
154 |
# selectiuing random iamges to be displayed
|
155 |
img_names = [os.path.join('generated_samples', img) for img in os.listdir('generated_samples')]
|
156 |
five_rand_imgs1 = get_random_subset(img_names, 5)
|