ElBeh commited on
Commit
11ac6ab
·
verified ·
1 Parent(s): 3d7e9e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -71,7 +71,7 @@ st.divider()
71
 
72
  file_name = st.file_uploader("Choose an image...")
73
 
74
- st.button("execute classification", type="primary")
75
 
76
 
77
  if file_name is not None:
@@ -87,6 +87,7 @@ if file_name is not None:
87
  #if image.format != "JPEG" and compress :
88
  if compress :
89
  image = jpg_compression(image)
 
90
 
91
  col1.image(image, use_column_width=True)
92
  predictions = get_prediction(image)
 
71
 
72
  file_name = st.file_uploader("Choose an image...")
73
 
74
+ #st.button("execute classification", type="primary")
75
 
76
 
77
  if file_name is not None:
 
87
  #if image.format != "JPEG" and compress :
88
  if compress :
89
  image = jpg_compression(image)
90
+ st.button("re-run classification")
91
 
92
  col1.image(image, use_column_width=True)
93
  predictions = get_prediction(image)