mMonika commited on
Commit
52a437d
·
verified ·
1 Parent(s): b89b4ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -483,7 +483,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["GROQ_API_KEY"] = f"{api_key}" # Set API key securely
487
  # os.environ["HUGGINGFACEHUB_API_TOKEN"] = userdata.get('HF_TOKEN')
488
 
489
  # Load PDF as knowledge source
@@ -494,7 +494,7 @@ def run_crew(api_key: str, job_url: str, company_name: str, resume_pdf_path: str
494
  print(resume_pdf_path)
495
  # Initialize HuggingFaceHub with API token
496
  llm = LLM(
497
- model="groq/deepseek-r1-distill-qwen-32b",
498
  temperature=0.7
499
  )
500
  # Create agents with the initialized llm
 
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
  # os.environ["HUGGINGFACEHUB_API_TOKEN"] = userdata.get('HF_TOKEN')
488
 
489
  # Load PDF as knowledge source
 
494
  print(resume_pdf_path)
495
  # Initialize HuggingFaceHub with API token
496
  llm = LLM(
497
+ model="gpt-4o",
498
  temperature=0.7
499
  )
500
  # Create agents with the initialized llm