Spaces:
Running
Running
Upload 2 files
Browse files- app.py +24 -0
- requirements.txt +7 -0
app.py
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from frontend.main_app import render_main_app
|
3 |
+
from frontend.chat_interface import render_chat_interface
|
4 |
+
|
5 |
+
# Set the page layout to wide for better visual presentation
|
6 |
+
st.set_page_config(layout="wide")
|
7 |
+
|
8 |
+
def main():
|
9 |
+
st.title("Resume Analyzer")
|
10 |
+
|
11 |
+
# Create two columns with a 3:2 ratio for layout
|
12 |
+
col1, col2 = st.columns([3, 2])
|
13 |
+
|
14 |
+
with col1:
|
15 |
+
# Render the main app in the larger column
|
16 |
+
render_main_app()
|
17 |
+
|
18 |
+
with col2:
|
19 |
+
# Render the chat interface in the smaller column
|
20 |
+
render_chat_interface()
|
21 |
+
|
22 |
+
# Script execution through the 'main' function
|
23 |
+
if __name__ == "__main__":
|
24 |
+
main()
|
requirements.txt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
streamlit
|
2 |
+
langchain_community
|
3 |
+
langchain-huggingface
|
4 |
+
langchain-groq
|
5 |
+
pypdf
|
6 |
+
faiss-cpu
|
7 |
+
python-dotenv
|