Spaces:
Running
Running
Johnny
commited on
Commit
·
e11a248
1
Parent(s):
f3f0a69
added requirements.txt updated gitignore
Browse files- .gitignore +0 -3
- README.md +7 -0
- __pycache__/database.cpython-311.pyc +0 -0
- app.py +1 -2
- config.py +1 -1
- database.py +3 -1
- multi_crew/knowledge/user_preference.txt +4 -0
- requirements.txt +10 -0
.gitignore
CHANGED
@@ -12,9 +12,6 @@ config/secrets.yml
|
|
12 |
myenv/
|
13 |
venv/
|
14 |
|
15 |
-
# Ignore all `.txt` files in any directory
|
16 |
-
**/*.txt
|
17 |
-
|
18 |
# Ignore all files in a specific folder
|
19 |
build/
|
20 |
|
|
|
12 |
myenv/
|
13 |
venv/
|
14 |
|
|
|
|
|
|
|
15 |
# Ignore all files in a specific folder
|
16 |
build/
|
17 |
|
README.md
CHANGED
@@ -12,3 +12,10 @@ short_description: 'AI - Powered Resume Screening Bot Application '
|
|
12 |
---
|
13 |
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
---
|
13 |
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
15 |
+
|
16 |
+
# project summary
|
17 |
+
# table of contents
|
18 |
+
# file directory
|
19 |
+
# backend and frontend tech stack
|
20 |
+
# model evaluation
|
21 |
+
# research paper (nice to have)
|
__pycache__/database.cpython-311.pyc
CHANGED
Binary files a/__pycache__/database.cpython-311.pyc and b/__pycache__/database.cpython-311.pyc differ
|
|
app.py
CHANGED
@@ -32,5 +32,4 @@ if uploaded_files:
|
|
32 |
st.success("Top candidates shortlisted!")
|
33 |
st.download_button("Download Shortlist PDF", open(pdf_path, "rb"), file_name="shortlisted_candidates.pdf")
|
34 |
|
35 |
-
# the link expiration time is set to 24 hours
|
36 |
-
# file format output to pdf.
|
|
|
32 |
st.success("Top candidates shortlisted!")
|
33 |
st.download_button("Download Shortlist PDF", open(pdf_path, "rb"), file_name="shortlisted_candidates.pdf")
|
34 |
|
35 |
+
# the link expiration time is set to 24 hours
|
|
config.py
CHANGED
@@ -5,7 +5,7 @@ from dotenv import load_dotenv
|
|
5 |
load_dotenv()
|
6 |
|
7 |
# Retrieve environment variables
|
8 |
-
DATABASE_URL = os.getenv(postgresql://@localhost:5433/candidate)
|
9 |
HUGGINGFACE_API_URL = os.getenv("HUGGINGFACE_API_URL")
|
10 |
HUGGINGFACE_API_KEY = os.getenv("HUGGINGFACE_API_KEY")
|
11 |
if not DATABASE_URL or not HUGGINGFACE_API_URL or not HUGGINGFACE_API_KEY:
|
|
|
5 |
load_dotenv()
|
6 |
|
7 |
# Retrieve environment variables
|
8 |
+
DATABASE_URL = os.getenv("postgresql://@localhost:5433/candidate")
|
9 |
HUGGINGFACE_API_URL = os.getenv("HUGGINGFACE_API_URL")
|
10 |
HUGGINGFACE_API_KEY = os.getenv("HUGGINGFACE_API_KEY")
|
11 |
if not DATABASE_URL or not HUGGINGFACE_API_URL or not HUGGINGFACE_API_KEY:
|
database.py
CHANGED
@@ -18,4 +18,6 @@ class Candidate(Base):
|
|
18 |
pdf_link = Column(String)
|
19 |
|
20 |
# Create tables
|
21 |
-
Base.metadata.create_all(bind=engine)
|
|
|
|
|
|
18 |
pdf_link = Column(String)
|
19 |
|
20 |
# Create tables
|
21 |
+
Base.metadata.create_all(bind=engine)
|
22 |
+
|
23 |
+
# add email to the schema
|
multi_crew/knowledge/user_preference.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
User name is John Doe.
|
2 |
+
User is an AI Engineer.
|
3 |
+
User is interested in AI Agents.
|
4 |
+
User is based in San Francisco, California.
|
requirements.txt
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
streamlit
|
2 |
+
langchain
|
3 |
+
psycopg2
|
4 |
+
sqlalchemy
|
5 |
+
PyPDF2
|
6 |
+
resume-parser
|
7 |
+
python-dotenv
|
8 |
+
fitz
|
9 |
+
requests
|
10 |
+
reportlab
|