Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,9 @@ import torch
|
|
| 7 |
import numpy as np
|
| 8 |
import re
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
# Initialize models
|
| 11 |
@st.cache_resource
|
| 12 |
def load_models():
|
|
@@ -101,8 +104,6 @@ def classify_and_summarize(resume, job_description):
|
|
| 101 |
return suitability, summary, warning
|
| 102 |
|
| 103 |
# Streamlit interface
|
| 104 |
-
st.set_page_config(page_title="Resume Screening App", page_icon="📄", layout="centered")
|
| 105 |
-
|
| 106 |
# Introduction
|
| 107 |
st.markdown("""
|
| 108 |
<h1 style='text-align: center; color: #2E4053;'>Resume Screening Application</h1>
|
|
|
|
| 7 |
import numpy as np
|
| 8 |
import re
|
| 9 |
|
| 10 |
+
# Set page config as the first Streamlit command
|
| 11 |
+
st.set_page_config(page_title="Resume Screening App", page_icon="📄", layout="centered")
|
| 12 |
+
|
| 13 |
# Initialize models
|
| 14 |
@st.cache_resource
|
| 15 |
def load_models():
|
|
|
|
| 104 |
return suitability, summary, warning
|
| 105 |
|
| 106 |
# Streamlit interface
|
|
|
|
|
|
|
| 107 |
# Introduction
|
| 108 |
st.markdown("""
|
| 109 |
<h1 style='text-align: center; color: #2E4053;'>Resume Screening Application</h1>
|