shashichilappagari commited on
Commit
21e9294
1 Parent(s): 67d9268

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,6 +46,6 @@ with st.form("model_form"):
46
  submitted = st.form_submit_button("Submit")
47
  if submitted:
48
  image = Image.open(uploaded_file)
49
- image.thumbnail((640,640), Image.Resampling.LANCZOS)
50
  inference_results=crop_model(image)
51
  st.image(inference_results.image_overlay,caption='Image with Bounding Boxes')
 
46
  submitted = st.form_submit_button("Submit")
47
  if submitted:
48
  image = Image.open(uploaded_file)
49
+ image.thumbnail((512,512), Image.Resampling.LANCZOS)
50
  inference_results=crop_model(image)
51
  st.image(inference_results.image_overlay,caption='Image with Bounding Boxes')