Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def main():
|
|
| 37 |
search_type = st.selectbox("Selecciona el tipo de búsqueda:", ["Dominio", "URL"])
|
| 38 |
|
| 39 |
# Obtener la URL del dominio o la URL del input del usuario
|
| 40 |
-
input_label = "Introduce la URL del dominio
|
| 41 |
user_input = st.text_input(input_label, "")
|
| 42 |
|
| 43 |
if st.button("🔎"):
|
|
@@ -54,7 +54,7 @@ def visualize(user_input, mode):
|
|
| 54 |
data = extract_data(user_input, mode)
|
| 55 |
|
| 56 |
if data:
|
| 57 |
-
st.subheader(f"Resultados para {user_input}
|
| 58 |
df = pd.DataFrame(data)
|
| 59 |
|
| 60 |
# Eliminar la columna "Última actualización" si existe
|
|
|
|
| 37 |
search_type = st.selectbox("Selecciona el tipo de búsqueda:", ["Dominio", "URL"])
|
| 38 |
|
| 39 |
# Obtener la URL del dominio o la URL del input del usuario
|
| 40 |
+
input_label = "Introduce la URL del dominio" if search_type == "Dominio" else "Introduce la URL"
|
| 41 |
user_input = st.text_input(input_label, "")
|
| 42 |
|
| 43 |
if st.button("🔎"):
|
|
|
|
| 54 |
data = extract_data(user_input, mode)
|
| 55 |
|
| 56 |
if data:
|
| 57 |
+
st.subheader(f"Resultados para {user_input}")
|
| 58 |
df = pd.DataFrame(data)
|
| 59 |
|
| 60 |
# Eliminar la columna "Última actualización" si existe
|