Yerzhxn commited on
Commit
633f2ac
·
verified ·
1 Parent(s): cf29a66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -8
app.py CHANGED
@@ -86,14 +86,18 @@ if st.button("Найти совпадения"):
86
  if matching_results:
87
  for result in matching_results:
88
  st.markdown(
89
- f"""
90
- <div style="border: 1px solid #ddd; padding: 10px; border-radius: 5px; margin-bottom: 10px;">
91
- <h4 style="margin: 0;">{result['Name']}</h4>
92
- <p><strong>Количество совпадающих навыков:</strong> {result['Matching Skills Count']}</p>
93
- <p><strong>Совпадающие навыки:</strong><br>
94
- {'<br>'.join(['\u2022 ' + skill for skill in result['Matching Skills']])}</p>
95
- </div>
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: