Spaces:
Runtime error
Runtime error
Commit ·
680c8c1
1
Parent(s): 39af895
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,16 +54,16 @@ def match(CV,JD):
|
|
| 54 |
skillset_dict = create_skillset_dict(resume_names, resume_texts)
|
| 55 |
jd_skillset = create_skill_set(nlp(JD))
|
| 56 |
match_pairs = [match_skills(jd_skillset, skillset_dict, name) for name in skillset_dict.keys()]
|
| 57 |
-
return match_pairs
|
| 58 |
|
| 59 |
exp=["Who is steve jobs?","What is coldplay?","What is a turing test?","What is the most interesting thing about our universe?","What are the most beautiful places on earth?"]
|
| 60 |
|
| 61 |
-
desc="
|
| 62 |
|
| 63 |
-
inp1=gr.inputs.Textbox(lines=10, placeholder=None, default="", label="
|
| 64 |
-
inp2=gr.inputs.Textbox(lines=10, placeholder=None, default="", label="
|
| 65 |
|
| 66 |
out=gr.outputs.Textbox(type="auto",label="search results")
|
| 67 |
|
| 68 |
-
iface = gr.Interface(fn=match, inputs=[inp1,inp2], outputs=out,title="CV matcher",theme="huggingface",layout='vertical')
|
| 69 |
iface.launch(debug=True)
|
|
|
|
| 54 |
skillset_dict = create_skillset_dict(resume_names, resume_texts)
|
| 55 |
jd_skillset = create_skill_set(nlp(JD))
|
| 56 |
match_pairs = [match_skills(jd_skillset, skillset_dict, name) for name in skillset_dict.keys()]
|
| 57 |
+
return match_pairs[0]["ABHI]
|
| 58 |
|
| 59 |
exp=["Who is steve jobs?","What is coldplay?","What is a turing test?","What is the most interesting thing about our universe?","What are the most beautiful places on earth?"]
|
| 60 |
|
| 61 |
+
desc="A Machine Learning Based Resume Matcher, to compare Resumes with Job Descriptions. "
|
| 62 |
|
| 63 |
+
inp1=gr.inputs.Textbox(lines=10, placeholder=None, default="", label="Resume Details")
|
| 64 |
+
inp2=gr.inputs.Textbox(lines=10, placeholder=None, default="", label="Job Description")
|
| 65 |
|
| 66 |
out=gr.outputs.Textbox(type="auto",label="search results")
|
| 67 |
|
| 68 |
+
iface = gr.Interface(fn=match, inputs=[inp1,inp2], outputs=out,title="CV matcher",article=desc,theme="huggingface",layout='vertical')
|
| 69 |
iface.launch(debug=True)
|