Spaces:
Runtime error
Runtime error
Commit
·
eb4e7e0
1
Parent(s):
a5ed634
Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ def tweets_localidad(buscar_localidad):
|
|
174 |
return tabla
|
175 |
|
176 |
def analizar_frase(frase):
|
177 |
-
if frase
|
178 |
tabla = st.text("Ingrese una frase")
|
179 |
else:
|
180 |
predictions = pipeline_nlp(frase)
|
|
|
174 |
return tabla
|
175 |
|
176 |
def analizar_frase(frase):
|
177 |
+
if frase == "":
|
178 |
tabla = st.text("Ingrese una frase")
|
179 |
else:
|
180 |
predictions = pipeline_nlp(frase)
|