Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,13 +9,11 @@ load_dotenv() ## load all our environment variables
|
|
9 |
|
10 |
genai.configure(api_key=os.getenv("GOOGLE_API_KEYS"))
|
11 |
|
|
|
|
|
|
|
|
|
12 |
|
13 |
-
def get_gemini_response(question):
|
14 |
-
model =genai.GenerativeModel('gemini-pro')
|
15 |
-
response = model.generate_content(question)
|
16 |
-
return response.text
|
17 |
-
|
18 |
-
|
19 |
def input_pdf_text(uploaded_file):
|
20 |
reader=pdf.PdfReader(uploaded_file)
|
21 |
text=""
|
@@ -40,7 +38,7 @@ description:{jd}
|
|
40 |
I want the response in Three blocks having the structure
|
41 |
JD Match:"%"
|
42 |
MissingKeywords:[]
|
43 |
-
Tips to
|
44 |
"""
|
45 |
|
46 |
## streamlit app
|
|
|
9 |
|
10 |
genai.configure(api_key=os.getenv("GOOGLE_API_KEYS"))
|
11 |
|
12 |
+
def get_gemini_repsonse(input):
|
13 |
+
model=genai.GenerativeModel('gemini-pro')
|
14 |
+
response=model.generate_content(input)
|
15 |
+
return response.text
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
def input_pdf_text(uploaded_file):
|
18 |
reader=pdf.PdfReader(uploaded_file)
|
19 |
text=""
|
|
|
38 |
I want the response in Three blocks having the structure
|
39 |
JD Match:"%"
|
40 |
MissingKeywords:[]
|
41 |
+
Tips to Improve the Resume for Higher Match :""}}
|
42 |
"""
|
43 |
|
44 |
## streamlit app
|