Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,8 @@ def extract_text( pdf_path):
|
|
20 |
|
21 |
def get_response( candidate, resume, jd, chat_history):
|
22 |
|
23 |
-
resume = extract_text(resume)
|
24 |
-
jd = extract_text(jd)
|
25 |
|
26 |
prompt = ChatPromptTemplate.from_messages(
|
27 |
[
|
|
|
20 |
|
21 |
def get_response( candidate, resume, jd, chat_history):
|
22 |
|
23 |
+
resume = extract_text(resume.name)
|
24 |
+
jd = extract_text(jd.name)
|
25 |
|
26 |
prompt = ChatPromptTemplate.from_messages(
|
27 |
[
|