nlpblogs commited on
Commit
04acd31
·
verified ·
1 Parent(s): 040362f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
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
- vec = TfidfVectorizer()
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