Spaces:
Runtime error
Runtime error
Download src/app/models/schemas.py from Rolaficus/TrafficSimApp: direct link, hf CLI and curl.
- Browser
- Download file 174 Bytes
-
https://huggingface.co/spaces/Rolaficus/TrafficSimApp/resolve/main/src/app/models/schemas.py
- Command line
-
hf download hf://spaces/Rolaficus/TrafficSimApp/src/app/models/schemas.py
-
curl -L -o schemas.py https://huggingface.co/spaces/Rolaficus/TrafficSimApp/resolve/main/src/app/models/schemas.py
174 Bytes
| from pydantic import BaseModel | |
| class ConfigState(BaseModel): | |
| algorithm: str | |
| class ResetConfig(BaseModel): | |
| num_hubs: int | |
| num_vehicles: int | |
| event_rate: float | |