Spaces:
Sleeping
Sleeping
Update resume_tools.py
Browse files- resume_tools.py +3 -2
resume_tools.py
CHANGED
@@ -6,9 +6,10 @@ from typing import List
|
|
6 |
from utils import CURRENT_RESUME_LATEX
|
7 |
import os
|
8 |
import json
|
|
|
|
|
|
|
9 |
|
10 |
-
# config = json.load(open("config.json"))
|
11 |
-
# os.environ["GOOGLE_API_KEY"] = config["GOOGLE_API_KEY"]
|
12 |
|
13 |
@tool
|
14 |
def header_details(name: str, mobile_number: str, email_id: str, linkedin_profile_link : str, github_link: str) -> str:
|
|
|
6 |
from utils import CURRENT_RESUME_LATEX
|
7 |
import os
|
8 |
import json
|
9 |
+
from dotenv import load_dotenv
|
10 |
+
|
11 |
+
load_dotenv(".env")
|
12 |
|
|
|
|
|
13 |
|
14 |
@tool
|
15 |
def header_details(name: str, mobile_number: str, email_id: str, linkedin_profile_link : str, github_link: str) -> str:
|