add resize for images
Browse files
app.py
CHANGED
@@ -93,6 +93,7 @@ def main():
|
|
93 |
#read the csv file and display the dataframe
|
94 |
if file is not None:
|
95 |
image = Image.open(file) # read image with PIL library
|
|
|
96 |
st.image(image) #display
|
97 |
holder.empty()
|
98 |
|
|
|
93 |
#read the csv file and display the dataframe
|
94 |
if file is not None:
|
95 |
image = Image.open(file) # read image with PIL library
|
96 |
+
image = image.resize((600, 400))
|
97 |
st.image(image) #display
|
98 |
holder.empty()
|
99 |
|