Spaces:
Runtime error
Runtime error
Vincent Claes
commited on
Commit
·
eaaa73b
1
Parent(s):
f3c9931
use markdown to plot scores
Browse files- app.py +3 -3
- recruiting_assistant.py +1 -1
app.py
CHANGED
@@ -82,7 +82,7 @@ with demo:
|
|
82 |
""")
|
83 |
text_vacancy = gr.Textbox(hint="Paste here a Vacancy...", lines=7, label="Copy/paste here a vacancy")
|
84 |
b1 = gr.Button("Search Resume")
|
85 |
-
text_search_result = gr.Textbox(hint="Top resumes will appear here ...", label="Top resumes found in the database"
|
86 |
b1.click(search_resume, inputs=text_vacancy, outputs=text_search_result)
|
87 |
gr.Markdown("""
|
88 |
## 2. Select an appropriate resume for this vacancy, paste it in the textfield and write a relevant introduction email
|
@@ -92,8 +92,8 @@ with demo:
|
|
92 |
gr.Markdown("""
|
93 |
## 3. You have a relevant introduction email to send to the customer
|
94 |
""")
|
95 |
-
text_intro = gr.Textbox(label="Intro Email"
|
96 |
-
# evaluation = gr.Textbox(label="Evaluation of the skills"
|
97 |
evaluation = gr.Markdown(label="Evaluation of the skills")
|
98 |
b2.click(recruiting_assistant.create_intro,
|
99 |
inputs=[
|
|
|
82 |
""")
|
83 |
text_vacancy = gr.Textbox(hint="Paste here a Vacancy...", lines=7, label="Copy/paste here a vacancy")
|
84 |
b1 = gr.Button("Search Resume")
|
85 |
+
text_search_result = gr.Textbox(hint="Top resumes will appear here ...", label="Top resumes found in the database")
|
86 |
b1.click(search_resume, inputs=text_vacancy, outputs=text_search_result)
|
87 |
gr.Markdown("""
|
88 |
## 2. Select an appropriate resume for this vacancy, paste it in the textfield and write a relevant introduction email
|
|
|
92 |
gr.Markdown("""
|
93 |
## 3. You have a relevant introduction email to send to the customer
|
94 |
""")
|
95 |
+
text_intro = gr.Textbox(label="Intro Email")
|
96 |
+
# evaluation = gr.Textbox(label="Evaluation of the skills")
|
97 |
evaluation = gr.Markdown(label="Evaluation of the skills")
|
98 |
b2.click(recruiting_assistant.create_intro,
|
99 |
inputs=[
|
recruiting_assistant.py
CHANGED
@@ -200,4 +200,4 @@ def create_intro(vacancy=vacancy, resume=resume):
|
|
200 |
return result["introduction_email"], score
|
201 |
|
202 |
if __name__ == '__main__':
|
203 |
-
create_intro(vacancy=vacancy,resume=resume)
|
|
|
200 |
return result["introduction_email"], score
|
201 |
|
202 |
if __name__ == '__main__':
|
203 |
+
create_intro(vacancy=vacancy,resume=resume)
|