Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ def obtener_color_porcentaje(porcentaje):
|
|
76 |
def generar_html_con_colores(serp_results, urls_comunes, min_length):
|
77 |
url_color_map = {url: color_palette[i % len(color_palette)] for i, url in enumerate(urls_comunes)}
|
78 |
|
79 |
-
html_table = "<summary>Ver Resultados</summary><table border='1'><tr><th>Posici贸n</th>"
|
80 |
|
81 |
keywords = list(serp_results.keys())
|
82 |
for keyword in keywords:
|
@@ -95,7 +95,7 @@ def generar_html_con_colores(serp_results, urls_comunes, min_length):
|
|
95 |
else:
|
96 |
html_table += "<td></td>"
|
97 |
html_table += "</tr>"
|
98 |
-
html_table += "</table>"
|
99 |
return html_table
|
100 |
|
101 |
def analyze_keywords(keywords):
|
|
|
76 |
def generar_html_con_colores(serp_results, urls_comunes, min_length):
|
77 |
url_color_map = {url: color_palette[i % len(color_palette)] for i, url in enumerate(urls_comunes)}
|
78 |
|
79 |
+
html_table = "<details style='padding: 10px; background: #f3f3f3; border: solid 0; border-radius: 8px; margin-top: 10px;'><summary>Ver Resultados</summary><table border='1'><tr><th>Posici贸n</th>"
|
80 |
|
81 |
keywords = list(serp_results.keys())
|
82 |
for keyword in keywords:
|
|
|
95 |
else:
|
96 |
html_table += "<td></td>"
|
97 |
html_table += "</tr>"
|
98 |
+
html_table += "</table></detais>"
|
99 |
return html_table
|
100 |
|
101 |
def analyze_keywords(keywords):
|