Mangesh223 commited on
Commit
3575297
·
verified ·
1 Parent(s): e4e021b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,8 +30,8 @@ def process_uploaded_file(file):
30
  # Function to call Together API for Mistral inference
31
  def analyze_with_mistral(resume_text, job_description):
32
  # Replace with your Together API key
33
- TOGETHER_API_KEY = "your-together-api-key-here"
34
- url = "https://api.together.xyz/inference"
35
 
36
  # Construct the prompt
37
  prompt = f"""
 
30
  # Function to call Together API for Mistral inference
31
  def analyze_with_mistral(resume_text, job_description):
32
  # Replace with your Together API key
33
+ TOGETHER_API_KEY = os.getenv("HUGGINGFACE_API_KEY")
34
+ url = "https://router.huggingface.co/together/v1"
35
 
36
  # Construct the prompt
37
  prompt = f"""