Spaces:
Running
Running
Download src/models/__init__.py from farukhannan/flve: direct link, hf CLI and curl.
- Browser
- Download file 1.73 kB
-
https://huggingface.co/spaces/farukhannan/flve/resolve/main/src/models/__init__.py
- Command line
-
hf download hf://spaces/farukhannan/flve/src/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/farukhannan/flve/resolve/main/src/models/__init__.py
1.73 kB
| """ | |
| Proto-first model exports for FLVE. | |
| All API-facing types must come from generated protobuf contracts. | |
| """ | |
| from . import schemas_proto as _schemas_proto | |
| from . import ekyc_schemas_proto as _ekyc_schemas_proto | |
| if not (_schemas_proto.PROTO_AVAILABLE and _ekyc_schemas_proto.PROTO_AVAILABLE): | |
| raise ImportError( | |
| "Proto dependencies are not available. Install huggingface requirements and regenerate protos." | |
| ) | |
| from .schemas_proto import ( | |
| BoundingBox, | |
| HeadPose, | |
| EyeState, | |
| FaceResult, | |
| InferenceResponse, | |
| SingleFaceResponse, | |
| EyeContourPoint, | |
| EyeContour, | |
| EyeContours, | |
| Guidance, | |
| FaceDetection, | |
| ) | |
| from .ekyc_schemas_proto import ( | |
| CHALLENGE_INSTRUCTIONS, | |
| DEFAULT_CHALLENGE_SEQUENCE, | |
| EKYCChallengeType, | |
| EKYCStepState, | |
| EKYCSessionState, | |
| UserContext, | |
| SessionContext, | |
| StartEKYCRequest, | |
| EKYCStep, | |
| StartEKYCResponse, | |
| EKYCFrameResponse, | |
| EKYCStepResult, | |
| EKYCSessionSummary, | |
| CompleteEKYCRequest, | |
| CompleteEKYCResponse, | |
| GetEKYCStatusResponse, | |
| ) | |
| USING_PROTO = True | |
| __all__ = [ | |
| "BoundingBox", | |
| "HeadPose", | |
| "EyeState", | |
| "FaceResult", | |
| "InferenceResponse", | |
| "SingleFaceResponse", | |
| "FaceDetection", | |
| "Guidance", | |
| "EyeContourPoint", | |
| "EyeContour", | |
| "EyeContours", | |
| "CHALLENGE_INSTRUCTIONS", | |
| "DEFAULT_CHALLENGE_SEQUENCE", | |
| "EKYCChallengeType", | |
| "EKYCStepState", | |
| "EKYCSessionState", | |
| "UserContext", | |
| "SessionContext", | |
| "StartEKYCRequest", | |
| "EKYCStep", | |
| "StartEKYCResponse", | |
| "EKYCFrameResponse", | |
| "EKYCStepResult", | |
| "EKYCSessionSummary", | |
| "CompleteEKYCRequest", | |
| "CompleteEKYCResponse", | |
| "GetEKYCStatusResponse", | |
| "USING_PROTO", | |
| ] | |