mMonika commited on
Commit
244e379
·
verified ·
1 Parent(s): 1fdf33f
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -16,6 +16,8 @@ from langchain_openai import ChatOpenAI
16
  from typing import List, Dict, Optional
17
  from pydantic import BaseModel, Field, confloat
18
 
 
 
19
  class SkillScore(BaseModel):
20
  skill_name: str = Field(description="Name of the skill being scored")
21
  required: bool = Field(description="Whether this skill is required or nice-to-have")
@@ -483,8 +485,7 @@ def run_crew(api_key: str, job_url: str, company_name: str, resume_pdf_path: str
483
  if not api_key:
484
  return "⚠️ Please provide a valid OpenAI API Key."
485
 
486
- os.environ["OPENAI_API_KEY"] = f"{api_key}" # Set API key securely
487
-
488
  # Load PDF as knowledge source
489
  # pdf_source = resume_pdf_path
490
  pdf_source = PDFKnowledgeSource(
 
16
  from typing import List, Dict, Optional
17
  from pydantic import BaseModel, Field, confloat
18
 
19
+ llm = LLM(models/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B)
20
+
21
  class SkillScore(BaseModel):
22
  skill_name: str = Field(description="Name of the skill being scored")
23
  required: bool = Field(description="Whether this skill is required or nice-to-have")
 
485
  if not api_key:
486
  return "⚠️ Please provide a valid OpenAI API Key."
487
 
488
+ # os.environ["OPENAI_API_KEY"] = f"{api_key}" # Set API key securely
 
489
  # Load PDF as knowledge source
490
  # pdf_source = resume_pdf_path
491
  pdf_source = PDFKnowledgeSource(