Spaces:
Runtime error
Runtime error
Commit
·
b9decf4
1
Parent(s):
89d7f96
Update app.py
Browse files
app.py
CHANGED
@@ -165,6 +165,7 @@ def tweets_localidad(buscar_localidad):
|
|
165 |
return tabla
|
166 |
|
167 |
def analizar_frase(frase):
|
|
|
168 |
if frase == "":
|
169 |
predictions = pipeline_nlp(frase)
|
170 |
# convierte las predicciones en una lista de diccionarios
|
@@ -177,7 +178,7 @@ def analizar_frase(frase):
|
|
177 |
else:
|
178 |
tabla = st.text("Ingrese una frase")
|
179 |
|
180 |
-
|
181 |
|
182 |
def run():
|
183 |
with st.form("my_form"):
|
|
|
165 |
return tabla
|
166 |
|
167 |
def analizar_frase(frase):
|
168 |
+
|
169 |
if frase == "":
|
170 |
predictions = pipeline_nlp(frase)
|
171 |
# convierte las predicciones en una lista de diccionarios
|
|
|
178 |
else:
|
179 |
tabla = st.text("Ingrese una frase")
|
180 |
|
181 |
+
return tabla
|
182 |
|
183 |
def run():
|
184 |
with st.form("my_form"):
|