frncscp commited on
Commit
cadba70
·
1 Parent(s): 6ba8a9e

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
@@ -21,7 +21,7 @@ st.sidebar.write("contact@patacotron.tech")
21
  cnn, vit, zero_shot, autoencoder, svm, iforest, gan = st.tabs(["CNN", "ViT", "Zero-Shot", "Autoencoder", "OC-SVM", 'iForest', 'GAN'])
22
 
23
  @st.experimental_singleton
24
- def predict(model_list, weights, img):
25
  y_gorrito = 0
26
  raw_img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
27
  img = cv2.resize(img, (IMAGE_WIDTH, IMAGE_HEIGHT))
 
21
  cnn, vit, zero_shot, autoencoder, svm, iforest, gan = st.tabs(["CNN", "ViT", "Zero-Shot", "Autoencoder", "OC-SVM", 'iForest', 'GAN'])
22
 
23
  @st.experimental_singleton
24
+ def predict(_model_list, _weights, _img):
25
  y_gorrito = 0
26
  raw_img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
27
  img = cv2.resize(img, (IMAGE_WIDTH, IMAGE_HEIGHT))