Open soudasuwa opened 1 year ago
I am new to Stable Diffusion nor an expert in python so correct me if I am wrong.
If I understand correctly a class ResourceRequest(BaseModel)
is used only for typing, therefore a variable resource
in def fetch_model_by_hash(hash: str)
must be initialized to a dict
instead of ResourceRequest
.
Fix: #31