Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ text1 = st.text_input("Enter the occupation to compare:", "Оператор пу
|
|
107 |
if st.button("Find Similar Occupations"):
|
108 |
try:
|
109 |
# Find similar occupations
|
110 |
-
result = find_best_matches(
|
111 |
# similar_texts = find_similar_combined(text1, k=5)
|
112 |
# similar_texts_df = pd.DataFrame(similar_texts)
|
113 |
# Display results
|
|
|
107 |
if st.button("Find Similar Occupations"):
|
108 |
try:
|
109 |
# Find similar occupations
|
110 |
+
result = find_best_matches(text1, nkz_list, vectorizer, tfidf_nkz, top_n=10)
|
111 |
# similar_texts = find_similar_combined(text1, k=5)
|
112 |
# similar_texts_df = pd.DataFrame(similar_texts)
|
113 |
# Display results
|