AdithyaSNair commited on
Commit
b0db810
·
verified ·
1 Parent(s): 4e90803

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,7 +16,7 @@ import json
16
  # Initialize the LLM with your Groq API key from Streamlit secrets
17
  llm = ChatGroq(
18
  temperature=0,
19
- groq_api_key=st.secrets["groq_api_key"],
20
  model_name="llama-3.1-70b-versatile"
21
  )
22
 
@@ -198,7 +198,7 @@ def get_job_recommendations(resume_text, location="India"):
198
 
199
  url = "https://jsearch.p.rapidapi.com/search"
200
  headers = {
201
- "X-RapidAPI-Key": st.secrets["rapidapi_key"], # Accessing RapidAPI key securely
202
  "X-RapidAPI-Host": "jsearch.p.rapidapi.com"
203
  }
204
  params = {
 
16
  # Initialize the LLM with your Groq API key from Streamlit secrets
17
  llm = ChatGroq(
18
  temperature=0,
19
+ groq_api_key="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",
20
  model_name="llama-3.1-70b-versatile"
21
  )
22
 
 
198
 
199
  url = "https://jsearch.p.rapidapi.com/search"
200
  headers = {
201
+ "X-RapidAPI-Key": "2a4a8a38a9msh97ce530a89589a6p1d0106jsn1acc0a5ea6bc",
202
  "X-RapidAPI-Host": "jsearch.p.rapidapi.com"
203
  }
204
  params = {