Spaces:
Running
Running
Update pages/Entorno de Ejecución.py
Browse files
pages/Entorno de Ejecución.py
CHANGED
@@ -20,7 +20,6 @@ st.sidebar.write("contact@patacotron.tech")
|
|
20 |
|
21 |
cnn, vit, zero_shot, autoencoder, svm, iforest, gan = st.tabs(["CNN", "ViT", "Zero-Shot", "Autoencoder", "OC-SVM", 'iForest', 'GAN'])
|
22 |
|
23 |
-
@st.cache_resource
|
24 |
def predict(_model_list, _weights, _img):
|
25 |
y_gorrito = 0
|
26 |
raw_img = cv2.cvtColor(_img, cv2.COLOR_BGR2RGB)
|
|
|
20 |
|
21 |
cnn, vit, zero_shot, autoencoder, svm, iforest, gan = st.tabs(["CNN", "ViT", "Zero-Shot", "Autoencoder", "OC-SVM", 'iForest', 'GAN'])
|
22 |
|
|
|
23 |
def predict(_model_list, _weights, _img):
|
24 |
y_gorrito = 0
|
25 |
raw_img = cv2.cvtColor(_img, cv2.COLOR_BGR2RGB)
|