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