Spaces:
Build error
Build error
Download core/schema.py from prashantpatil3299/ProjectLensAI: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/spaces/prashantpatil3299/ProjectLensAI/resolve/main/core/schema.py
- Command line
-
hf download hf://spaces/prashantpatil3299/ProjectLensAI/core/schema.py
-
curl -L -o schema.py https://huggingface.co/spaces/prashantpatil3299/ProjectLensAI/resolve/main/core/schema.py
270 Bytes
| from pydantic import BaseModel | |
| from typing import Optional | |
| class ProjectRequest(BaseModel): | |
| project_type: str | |
| user_text: str | |
| file_path: Optional[str] = None | |
| tone: str = "Professional" | |
| class ProjectResponse(BaseModel): | |
| summary: str | |
| report: str |