Spaces:
Running
Running
Commit
·
10a271f
1
Parent(s):
c9e7be1
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import streamlit as st
|
2 |
-
import constants
|
3 |
from utils import *
|
4 |
import uuid
|
5 |
|
@@ -36,14 +35,6 @@ def main():
|
|
36 |
#Create embeddings instance
|
37 |
embeddings=create_embeddings_load_data()
|
38 |
|
39 |
-
#Push data to PINECONE
|
40 |
-
#push_to_pinecone(constants.PINECONE_API_KEY,constants.PINECONE_ENVIRONMENT,constants.PINECONE_INDEX,embeddings,final_docs_list)
|
41 |
-
|
42 |
-
#Fecth relavant documents from PINECONE
|
43 |
-
#relavant_docs=similar_docs(job_description,document_count,constants.PINECONE_API_KEY,constants.PINECONE_ENVIRONMENT,constants.PINECONE_INDEX,embeddings,st.session_state['unique_id'])
|
44 |
-
relavant_docs=close_matches(job_description,document_count,final_docs_list,embeddings)
|
45 |
-
#st.write(relavant_docs)
|
46 |
-
|
47 |
#Introducing a line separator
|
48 |
st.write(":heavy_minus_sign:" * 30)
|
49 |
|
|
|
1 |
import streamlit as st
|
|
|
2 |
from utils import *
|
3 |
import uuid
|
4 |
|
|
|
35 |
#Create embeddings instance
|
36 |
embeddings=create_embeddings_load_data()
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
#Introducing a line separator
|
39 |
st.write(":heavy_minus_sign:" * 30)
|
40 |
|