Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
server/python_env_environment.py
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
|
| 9 |
from __future__ import annotations
|
| 10 |
|
| 11 |
-
from dataclasses import dataclass
|
| 12 |
from datetime import UTC, datetime
|
| 13 |
from typing import Dict, Iterable, List, Optional
|
| 14 |
from uuid import uuid4
|
|
@@ -54,7 +54,7 @@ class ReferenceFinding:
|
|
| 54 |
rationale: str
|
| 55 |
recommendation: str
|
| 56 |
weight: float
|
| 57 |
-
keywords: List[str] =
|
| 58 |
|
| 59 |
|
| 60 |
@dataclass(frozen=True)
|
|
|
|
| 8 |
|
| 9 |
from __future__ import annotations
|
| 10 |
|
| 11 |
+
from dataclasses import dataclass, field
|
| 12 |
from datetime import UTC, datetime
|
| 13 |
from typing import Dict, Iterable, List, Optional
|
| 14 |
from uuid import uuid4
|
|
|
|
| 54 |
rationale: str
|
| 55 |
recommendation: str
|
| 56 |
weight: float
|
| 57 |
+
keywords: List[str] = field(default_factory=list)
|
| 58 |
|
| 59 |
|
| 60 |
@dataclass(frozen=True)
|