Download app/test.py from Gaykar/AdaptiveEngineService: direct link, hf CLI and curl.
- Browser
- Download file 1.32 kB
-
https://huggingface.co/spaces/Gaykar/AdaptiveEngineService/resolve/main/app/test.py
- Command line
-
hf download hf://spaces/Gaykar/AdaptiveEngineService/app/test.py
-
curl -L -o test.py https://huggingface.co/spaces/Gaykar/AdaptiveEngineService/resolve/main/app/test.py
1.32 kB
| import os | |
| from app.graph import graph | |
| import uuid | |
| jd_text="""Job Title: Backend Developer | |
| Company name: CodeForge | |
| We are hiring a Backend Developer to build scalable APIs and backend systems. | |
| Responsibilities: | |
| - Develop REST APIs using FastAPI | |
| - Design and manage PostgreSQL databases | |
| - Implement authentication and authorization systems | |
| - Optimize performance and scalability | |
| Requirements: | |
| - Strong knowledge of Python | |
| - Experience with FastAPI or Django | |
| - Good understanding of SQL and database design | |
| - Familiarity with Docker | |
| Constraints: | |
| - Location: Pune only | |
| - Full-time role """ | |
| initial_input = { | |
| "candidate_name": "Chirayu Jain", | |
| "resume_text": None, | |
| "job_description": jd_text, | |
| "file_path": r"C:\Users\ATHARVA\Downloads\my codes\web\AdaptiveEngineService\AI_Engine_Evaluation\Testcases\Testresume\ChirayuResume.pdf", | |
| "resume_data": None, | |
| "extraction_error": None, | |
| "JobDescriptionExtract_data": None, | |
| "skill_gap_analysis_data": None | |
| } | |
| THREAD_ID = str(uuid.uuid4()) | |
| config = {"configurable": {"thread_id": THREAD_ID}} | |
| # Change THREAD_ID to config | |
| # final_result = graph.invoke(initial_input, config=config) | |
| # print(final_result['resume_data']) | |
| # print() | |
| # print(final_result['skill_gap_analysis_data']) | |
| # print() | |
| # print(final_result['final_roadmap']) | |