Update app.py
Browse files
app.py
CHANGED
@@ -136,7 +136,7 @@ text1 = st.text_input("Enter the occupation to compare:", "Оператор пу
|
|
136 |
if st.button("Find Similar Occupations"):
|
137 |
try:
|
138 |
# Find similar occupations
|
139 |
-
results = find_best_matches(text1,
|
140 |
# similar_texts = find_similar_combined(text1, k=5)
|
141 |
# similar_texts_df = pd.DataFrame(similar_texts)
|
142 |
# Display results
|
|
|
136 |
if st.button("Find Similar Occupations"):
|
137 |
try:
|
138 |
# Find similar occupations
|
139 |
+
results = find_best_matches(text1, nkz_list, embeddings_nkz_df, top_n=10)
|
140 |
# similar_texts = find_similar_combined(text1, k=5)
|
141 |
# similar_texts_df = pd.DataFrame(similar_texts)
|
142 |
# Display results
|