Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,6 +46,8 @@ st.markdown("<br><br>", unsafe_allow_html=True)
|
|
| 46 |
# Upload image
|
| 47 |
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
|
| 48 |
|
|
|
|
|
|
|
| 49 |
if uploaded_file is not None:
|
| 50 |
# Converting the image into array
|
| 51 |
img_array=np.asarray(bytearray(uploaded_file.read()),dtype=np.uint8)
|
|
|
|
| 46 |
# Upload image
|
| 47 |
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
|
| 48 |
|
| 49 |
+
image_count=st.number_input("Number of Images to be generated",1,500)
|
| 50 |
+
|
| 51 |
if uploaded_file is not None:
|
| 52 |
# Converting the image into array
|
| 53 |
img_array=np.asarray(bytearray(uploaded_file.read()),dtype=np.uint8)
|