Spaces:
Sleeping
Sleeping
File size: 278 Bytes
d5d0921 |
1 2 3 4 5 6 7 8 9 10 11 12 |
from typing import Literal
from pydantic import BaseModel
class EnhancerConfig(BaseModel):
enabled: bool = False
model: str = "resemble-enhance"
nfe: int = 32
solver: Literal["midpoint", "rk4", "euler"] = "midpoint"
lambd: float = 0.5
tau: float = 0.5
|