Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ python -m venv .venv
source .venv/bin/activate
```

On Windows (PowerShell):

```powershell
py -m venv .venv
.\\.venv\\Scripts\\Activate.ps1
```

2) Install dependencies:

```bash
Expand Down
2 changes: 1 addition & 1 deletion document_clusterer/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def env_int(var_name: str, default: int) -> int:

def _ensure_file_exists(path: Path, description: str) -> None:
if not path.exists():
raise FileNotFoundError(f"{description} does not exist: {path}")

if not path.is_file():
raise ValueError(f"{description} is not a file: {path}")

Expand Down
Loading