Buckets:

download
raw
472 Bytes
from dataclasses import dataclass
from nos.hub import HuggingFaceHubConfig
@dataclass(frozen=True)
class SuperResolutionConfig(HuggingFaceHubConfig):
"""SuperResolution model configuration."""
method: str = "ldm"
"""SuperResolution method (choice of `ldm` or `swin2sr`)."""
def __post_init__(self):
if self.method not in ("ldm", "swin2sr"):
raise ValueError(f"Invalid method: {self.method}, available methods: ['ldm', 'swin2sr']")

Xet Storage Details

Size:
472 Bytes
·
Xet hash:
26ef9198ed6242a0d42ec1ad32112885368f183fda5e2ef78af38b4faad7247c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.