Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,14 +86,18 @@ if st.button("Найти совпадения"):
|
|
86 |
if matching_results:
|
87 |
for result in matching_results:
|
88 |
st.markdown(
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
"""
|
|
|
|
|
|
|
|
|
97 |
unsafe_allow_html=True
|
98 |
)
|
99 |
else:
|
|
|
86 |
if matching_results:
|
87 |
for result in matching_results:
|
88 |
st.markdown(
|
89 |
+
"""
|
90 |
+
<div style="border: 1px solid #ddd; padding: 10px; border-radius: 5px; margin-bottom: 10px;">
|
91 |
+
<h4 style="margin: 0;">{}</h4>
|
92 |
+
<p><strong>Количество совпадающих навыков:</strong> {}</p>
|
93 |
+
<p><strong>Совпадающие навыки:</strong><br>
|
94 |
+
{}</p>
|
95 |
+
</div>
|
96 |
+
""".format(
|
97 |
+
result['Name'],
|
98 |
+
result['Matching Skills Count'],
|
99 |
+
'<br>'.join(['• ' + skill for skill in result['Matching Skills']])
|
100 |
+
),
|
101 |
unsafe_allow_html=True
|
102 |
)
|
103 |
else:
|