Spaces:
Runtime error
Runtime error
Download api/models.py from utkarsh134/FastAPIExperience2: direct link, hf CLI and curl.
- Browser
- Download file 893 Bytes
-
https://huggingface.co/spaces/utkarsh134/FastAPIExperience2/resolve/9c0cf44ef4fc6deb88c70807ef687e2db408388a/api/models.py
- Command line
-
hf download hf://spaces/utkarsh134/FastAPIExperience2@9c0cf44ef4fc6deb88c70807ef687e2db408388a/api/models.py
-
curl -L -o models.py https://huggingface.co/spaces/utkarsh134/FastAPIExperience2/resolve/9c0cf44ef4fc6deb88c70807ef687e2db408388a/api/models.py
893 Bytes
| from pydantic import BaseModel | |
| from typing import List, Optional | |
| from datetime import datetime | |
| class ResumeAnalysisResponse(BaseModel): | |
| candidate_name: str = "" | |
| gender: Optional[str] = None | |
| date_of_birth: Optional[str] = None | |
| email: Optional[str] = None | |
| mobile_number: Optional[str] = None | |
| address: Optional[str] = None | |
| pan_number: Optional[str] = None | |
| aadhar_number: Optional[str] = None | |
| passport_number: Optional[str] = None | |
| highest_education: Optional[str] = None | |
| designation: Optional[str] = None | |
| skills: Optional[str] = "" | |
| total_experience: Optional[str] = None | |
| region: Optional[str] = None | |
| relevant_experience: Optional[str] = None | |
| experience_summary: Optional[str] = None | |
| file_modified_date: Optional[datetime] = None | |
| id: Optional[str] = None | |
| stored_in_db: bool = False | |
| db_error: Optional[str] = None |