Update app.py
Browse files
app.py
CHANGED
@@ -19,11 +19,7 @@ for uploaded_file in uploaded_files:
|
|
19 |
for text in text_data:
|
20 |
data = pd.Series(text, index = ["Resume"])
|
21 |
st.dataframe(data) # view the text data
|
22 |
-
|
23 |
-
tf_idf = vec.fit_transform(data[["Resume"]])
|
24 |
-
st.dataframe(pd.DataFrame(tf_idf.toarray(), columns=vec.get_feature_names_out()))
|
25 |
-
cosine_sim = cosine_similarity(tf_idf, tf_idf)
|
26 |
-
st.write(cosine_sim)
|
27 |
|
28 |
|
29 |
|
|
|
19 |
for text in text_data:
|
20 |
data = pd.Series(text, index = ["Resume"])
|
21 |
st.dataframe(data) # view the text data
|
22 |
+
|
|
|
|
|
|
|
|
|
23 |
|
24 |
|
25 |
|