hdeldar commited on
Commit
1eae602
1 Parent(s): 46919f7

add resize for images

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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