Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = "
|
| 34 |
-
url = "https://
|
| 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"""
|