Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ import logging
|
|
14 |
|
15 |
# Configure logging
|
16 |
logging.basicConfig(level=logging.INFO)
|
17 |
-
logger = logging.getLogger(
|
18 |
|
19 |
# Load SpaCy model for dependency parsing and NER
|
20 |
nlp_spacy = spacy.load('en_core_web_sm')
|
@@ -214,5 +214,5 @@ def main():
|
|
214 |
logger.error(f"Error during resume analysis: {e}")
|
215 |
st.error("An error occurred during resume analysis. Please try again or contact support if the issue persists.")
|
216 |
|
217 |
-
if __name__ == "
|
218 |
main()
|
|
|
14 |
|
15 |
# Configure logging
|
16 |
logging.basicConfig(level=logging.INFO)
|
17 |
+
logger = logging.getLogger(__name__)
|
18 |
|
19 |
# Load SpaCy model for dependency parsing and NER
|
20 |
nlp_spacy = spacy.load('en_core_web_sm')
|
|
|
214 |
logger.error(f"Error during resume analysis: {e}")
|
215 |
st.error("An error occurred during resume analysis. Please try again or contact support if the issue persists.")
|
216 |
|
217 |
+
if __name__ == "__main__":
|
218 |
main()
|