AminMemon commited on
Commit
ce0876e
·
1 Parent(s): 0561c91

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -18,7 +18,7 @@ css_style = """
18
 
19
  .answerText p {
20
  font-size: 24px !important;
21
- color: red !important;
22
  }
23
  """
24
 
@@ -37,11 +37,11 @@ def run(uploaded_files):
37
 
38
  def createAnswer(files, designation, openaikey):
39
  openai.api_key = openaikey
40
- docs = Docs(model='gpt-3.5-turbo')
41
  for d in files:
42
  docs.add(d.name)
43
  answer = docs.query(
44
- f"Based on the CV/Resume data who is the best person to hire for {designation}. Provide a list with the candidate name.")
45
  print(answer.formatted_answer)
46
  print(type(answer))
47
  return answer.answer
 
18
 
19
  .answerText p {
20
  font-size: 24px !important;
21
+ color: #8dbcfe !important;
22
  }
23
  """
24
 
 
37
 
38
  def createAnswer(files, designation, openaikey):
39
  openai.api_key = openaikey
40
+ docs = Docs(llm='gpt-3.5-turbo')
41
  for d in files:
42
  docs.add(d.name)
43
  answer = docs.query(
44
+ f"Who is the best canidate to hire for {designation}. Provide a list with the candidate name. If you don't know, simply say None of the canidates are suited for the Job role.")
45
  print(answer.formatted_answer)
46
  print(type(answer))
47
  return answer.answer