Talha812 commited on
Commit
463776a
·
verified ·
1 Parent(s): 0d3d70e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -107,13 +107,12 @@ def calculate_similarity(resume_text, jd_text):
107
 
108
  def generate_interview_questions(resume_text, jd_text):
109
  """Generate interview questions using Groq API"""
110
- input_text = f"Generate interview questions based on the resume and job description.Here is the resume: {resume_text}\n and here is the Job Description:{jd_text} Give me concise to the point questions only."
111
 
112
  response = client.chat.completions.create(
113
  messages=[
114
  {"role": "user", "content": input_text}
115
  ],
116
- # model="llama-3.3-70b-versatile",
117
  model="deepseek-r1-distill-llama-70b"
118
  )
119
  return response.choices[0].message.content
 
107
 
108
  def generate_interview_questions(resume_text, jd_text):
109
  """Generate interview questions using Groq API"""
110
+ input_text = f"Generate interview questions based on the resume and job description.Here is the resume: {resume_text}\n and here is the Job Description:{jd_text} Give me concise to the point questions only. Not description of resume or Job Description."
111
 
112
  response = client.chat.completions.create(
113
  messages=[
114
  {"role": "user", "content": input_text}
115
  ],
 
116
  model="deepseek-r1-distill-llama-70b"
117
  )
118
  return response.choices[0].message.content