Spaces:
Sleeping
Sleeping
Download python_backend/src/Agents/components/resume_schema_generator.py from VashuTheGreat2/ML-Learner: direct link, hf CLI and curl.
- Browser
- Download file 599 Bytes
-
https://huggingface.co/spaces/VashuTheGreat2/ML-Learner/resolve/main/python_backend/src/Agents/components/resume_schema_generator.py
- Command line
-
hf download hf://spaces/VashuTheGreat2/ML-Learner/python_backend/src/Agents/components/resume_schema_generator.py
-
curl -L -o resume_schema_generator.py https://huggingface.co/spaces/VashuTheGreat2/ML-Learner/resolve/main/python_backend/src/Agents/components/resume_schema_generator.py
599 Bytes
| from utils.asyncHandler import asyncHandler | |
| from src.Agents.graphs.resume_graph_builder import create_resume_schema | |
| from src.Agents.models.Resume_model import ResumeSchema | |
| import logging | |
| class ResumeSchemaGenerator: | |
| def __init__(self): | |
| pass | |
| async def generate_schema(self,userDetails:str)->ResumeSchema: | |
| logging.info("Entered in the Generate Schema Componenet") | |
| final_state=await create_resume_schema(userDetails=userDetails) | |
| logging.info("Exited from the Generate Schema Componenet") | |
| return final_state["ai_generated_schema"] |