nmariotto commited on
Commit
42ee2d1
·
verified ·
1 Parent(s): 7b67a05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -24,6 +24,8 @@ model = project.version(st.secrets["roboflow_version"]).model
24
  model.confidence = 80
25
  model.overlap = 25
26
  dpi_value = 300
 
 
27
 
28
  with st.expander("⚙️ Advanced Settings", expanded=True):
29
  model.confidence = st.slider("Model Confidence (%)", 20, 100, 80)
@@ -153,6 +155,7 @@ def process_image(uploaded_file):
153
  # 🗂️ Interface principal
154
  st.title("IA Model Segmentation")
155
  upload_option = st.radio("Choose upload type:", ["Single image", "Image folder"])
 
156
  results = []
157
 
158
  if upload_option == "Single image":
 
24
  model.confidence = 80
25
  model.overlap = 25
26
  dpi_value = 300
27
+ APP_VERSION = "2.4"
28
+
29
 
30
  with st.expander("⚙️ Advanced Settings", expanded=True):
31
  model.confidence = st.slider("Model Confidence (%)", 20, 100, 80)
 
155
  # 🗂️ Interface principal
156
  st.title("IA Model Segmentation")
157
  upload_option = st.radio("Choose upload type:", ["Single image", "Image folder"])
158
+ st.caption(f"Version {APP_VERSION} (model retrained with user feedback)")
159
  results = []
160
 
161
  if upload_option == "Single image":