Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,24 +1,27 @@
|
|
| 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 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
with
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
#
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
| 24 |
main()
|
|
|
|
| 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 |
+
with st.sidebar:
|
| 12 |
+
st.image("resume_analyzer_logo.png", width=150)
|
| 13 |
+
|
| 14 |
+
# Create two columns with a 3:2 ratio for layout
|
| 15 |
+
col1, col2 = st.columns([3, 2])
|
| 16 |
+
|
| 17 |
+
with col1:
|
| 18 |
+
# Render the main app in the larger column
|
| 19 |
+
render_main_app()
|
| 20 |
+
|
| 21 |
+
with col2:
|
| 22 |
+
# Render the chat interface in the smaller column
|
| 23 |
+
render_chat_interface()
|
| 24 |
+
|
| 25 |
+
# Script execution through the 'main' function
|
| 26 |
+
if __name__ == "__main__":
|
| 27 |
main()
|