Spaces:
Running
Running
Download src/backend/models/device.py from rupeshs/fastsdcpu: direct link, hf CLI and curl.
- Browser
- Download file 153 Bytes
-
https://huggingface.co/spaces/rupeshs/fastsdcpu/resolve/main/src/backend/models/device.py
- Command line
-
hf download hf://spaces/rupeshs/fastsdcpu/src/backend/models/device.py
-
curl -L -o device.py https://huggingface.co/spaces/rupeshs/fastsdcpu/resolve/main/src/backend/models/device.py
153 Bytes
| from pydantic import BaseModel | |
| class DeviceInfo(BaseModel): | |
| device_type: str | |
| device_name: str | |
| os: str | |
| platform: str | |
| processor: str | |