KaburaJ commited on
Commit
24d68f2
·
1 Parent(s): 3f62206

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -93,8 +93,7 @@ def main():
93
 
94
  left_column, right_column = st.columns(2)
95
  left_column.image(image_file, caption="Uploaded image", use_column_width=True)
96
- image = Image.open(image_file)
97
- image = image_transformation(image=image)
98
 
99
 
100
  pred_button = st.button("Predict")
 
93
 
94
  left_column, right_column = st.columns(2)
95
  left_column.image(image_file, caption="Uploaded image", use_column_width=True)
96
+ image = image_transformation(image=Image.open(image_file))
 
97
 
98
 
99
  pred_button = st.button("Predict")