Spaces:
Sleeping
Sleeping
Update similarity_score_refined.py
Browse files
similarity_score_refined.py
CHANGED
@@ -38,7 +38,7 @@ os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "/content/drive/MyDrive/Resume/fi
|
|
38 |
import os
|
39 |
# from langchain.text_splitter import RecursiveCharacterTextSplitter
|
40 |
# from langchain_community.vectorstores.faiss import FAISS
|
41 |
-
|
42 |
from docx import Document
|
43 |
import google.generativeai as genai
|
44 |
from datetime import datetime
|
@@ -48,7 +48,6 @@ api_key_google = userdata.get('google_cloud')
|
|
48 |
genai.configure(api_key=api_key_google)
|
49 |
|
50 |
# Mount Google Drive
|
51 |
-
drive.mount('/content/drive')
|
52 |
|
53 |
model = genai.GenerativeModel('gemini-pro')
|
54 |
|
|
|
38 |
import os
|
39 |
# from langchain.text_splitter import RecursiveCharacterTextSplitter
|
40 |
# from langchain_community.vectorstores.faiss import FAISS
|
41 |
+
|
42 |
from docx import Document
|
43 |
import google.generativeai as genai
|
44 |
from datetime import datetime
|
|
|
48 |
genai.configure(api_key=api_key_google)
|
49 |
|
50 |
# Mount Google Drive
|
|
|
51 |
|
52 |
model = genai.GenerativeModel('gemini-pro')
|
53 |
|