Spaces:
Running
Running
Update pages/Entorno de Ejecución.py
Browse files
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(
|
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))
|