Spaces:
Running
Running
Update pages/Entorno de Ejecución.py
Browse files
pages/Entorno de Ejecución.py
CHANGED
@@ -1,18 +1,19 @@
|
|
1 |
import streamlit as st
|
2 |
import tensorflow as tf
|
3 |
-
from huggingface_hub import login
|
4 |
-
from tensorflow.keras.models import load_model
|
5 |
-
from transformers import AutoConfig, AutoModel, pipeline, Dinov2Model#, AutoProcessor, AutoModelForZeroShotImageClassification
|
6 |
-
from PIL import Image
|
7 |
import os
|
8 |
import torch
|
9 |
import cv2
|
10 |
import numpy as np
|
11 |
import requests
|
12 |
import joblib
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
token = os.environ['token']
|
15 |
-
#login(token = st.secrets["HF_TOKEN"], new_session = False)
|
16 |
|
17 |
st.set_page_config(
|
18 |
page_title = 'Patacotrón',
|
|
|
1 |
import streamlit as st
|
2 |
import tensorflow as tf
|
|
|
|
|
|
|
|
|
3 |
import os
|
4 |
import torch
|
5 |
import cv2
|
6 |
import numpy as np
|
7 |
import requests
|
8 |
import joblib
|
9 |
+
import sklearn
|
10 |
+
from PIL import Image
|
11 |
+
from sklearn.decomposition import PCA
|
12 |
+
from tensorflow.keras.models import load_model
|
13 |
+
from transformers import AutoConfig, AutoModel, pipeline, Dinov2Model#, AutoProcessor, AutoModelForZeroShotImageClassification
|
14 |
+
|
15 |
|
16 |
token = os.environ['token']
|
|
|
17 |
|
18 |
st.set_page_config(
|
19 |
page_title = 'Patacotrón',
|