Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,11 @@ from preprocesamiento_articulos import limpieza_articulos
|
|
7 |
from entrenamiento_modelo import term_document_matrix, tf_idf_score
|
8 |
from resultados_consulta import resultados_consulta, detalles_resultados
|
9 |
import tensorflow as tf
|
|
|
10 |
from math import ceil
|
11 |
|
|
|
|
|
12 |
@st.cache_data(show_spinner=False)
|
13 |
def split_frame(input_df, rows):
|
14 |
df=[]
|
|
|
7 |
from entrenamiento_modelo import term_document_matrix, tf_idf_score
|
8 |
from resultados_consulta import resultados_consulta, detalles_resultados
|
9 |
import tensorflow as tf
|
10 |
+
import tensorflow.python.ops.numpy_ops.np_config as np_config
|
11 |
from math import ceil
|
12 |
|
13 |
+
np_config.enable_numpy_behavior()
|
14 |
+
|
15 |
@st.cache_data(show_spinner=False)
|
16 |
def split_frame(input_df, rows):
|
17 |
df=[]
|