Spaces:
Sleeping
Sleeping
Commit
•
cc627ad
1
Parent(s):
2d5729d
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ app = FastAPI()
|
|
15 |
def build_model():
|
16 |
with open('somlucuma.pkl', 'rb') as fid:
|
17 |
somecoli = pickle.load(fid)
|
18 |
-
MM = np.loadtxt('
|
19 |
return somecoli,MM
|
20 |
|
21 |
som,MM = build_model() # Construir el modelo al iniciar la aplicación
|
|
|
15 |
def build_model():
|
16 |
with open('somlucuma.pkl', 'rb') as fid:
|
17 |
somecoli = pickle.load(fid)
|
18 |
+
MM = np.loadtxt('matrizMM.txt', delimiter=" ")
|
19 |
return somecoli,MM
|
20 |
|
21 |
som,MM = build_model() # Construir el modelo al iniciar la aplicación
|