Spaces:
Paused
Paused
Download models/query_model.py from imseldrith/chatx: direct link, hf CLI and curl.
- Browser
- Download file 128 Bytes
-
https://huggingface.co/spaces/imseldrith/chatx/resolve/main/models/query_model.py
- Command line
-
hf download hf://spaces/imseldrith/chatx/models/query_model.py
-
curl -L -o query_model.py https://huggingface.co/spaces/imseldrith/chatx/resolve/main/models/query_model.py
128 Bytes
| from pydantic import BaseModel, Field | |
| class QueryModel(BaseModel): | |
| user_input: str = Field(min_length=1, max_length=1000) | |