Spaces:
Sleeping
Sleeping
Download src/models.py from point9/PredictiveMaintanenceAgent: direct link, hf CLI and curl.
- Browser
- Download file 326 Bytes
-
https://huggingface.co/spaces/point9/PredictiveMaintanenceAgent/resolve/main/src/models.py
- Command line
-
hf download hf://spaces/point9/PredictiveMaintanenceAgent/src/models.py
-
curl -L -o models.py https://huggingface.co/spaces/point9/PredictiveMaintanenceAgent/resolve/main/src/models.py
326 Bytes
| from pydantic import BaseModel | |
| class SensorData(BaseModel): | |
| vdc1: list[float] | |
| idc1: list[float] | |
| pvt: list[float] | |
| api_key: str = None # Optional Google API key for LLM features | |
| asset_id: str = None # Optional asset identifier | |
| class AnalysisResponse(BaseModel): | |
| ml_output: dict | |
| agent_output: dict |