replace load_and_cache_model() with load_remote_model() and load_local_odel()

This commit is contained in:
Lincoln Stein
2024-06-06 00:31:41 -04:00
committed by psychedelicious
parent 9f9379682e
commit dc134935c8
12 changed files with 106 additions and 69 deletions

View File

@ -91,7 +91,7 @@ class ESRGANInvocation(BaseInvocation, WithMetadata, WithBoard):
context.logger.error(msg)
raise ValueError(msg)
loadnet = context.models.load_and_cache_model(
loadnet = context.models.load_remote_model(
source=ESRGAN_MODEL_URLS[self.model_name],
)