frncscp commited on
Commit
e035334
·
1 Parent(s): 4d43840

Update pages/Entorno de Ejecución.py

Browse files
Files changed (1) hide show
  1. pages/Entorno de Ejecución.py +1 -1
pages/Entorno de Ejecución.py CHANGED
@@ -71,7 +71,7 @@ with col_a:
71
 
72
  with col_b:
73
  if st.button('¿Hay un patacón en la imagen?'):
74
- if uploaded_file is not None and len(selected_models) > 0:
75
  # Load the image and resize it to the required dimensions
76
  img = np.frombuffer(uploaded_file.read(), np.uint8)
77
  img = cv2.imdecode(img, cv2.IMREAD_COLOR)
 
71
 
72
  with col_b:
73
  if st.button('¿Hay un patacón en la imagen?'):
74
+ if uploaded_file is not None and len(selected_models) > 0 or ultra_flag:
75
  # Load the image and resize it to the required dimensions
76
  img = np.frombuffer(uploaded_file.read(), np.uint8)
77
  img = cv2.imdecode(img, cv2.IMREAD_COLOR)