Skip to content

Commit

Permalink
restore preloading behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
justjake committed Dec 30, 2022
1 parent 1ee81e8 commit 0bb630a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Gauss/GaussKernel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ class GaussKernel: ObservableObject {
resourcesAt: url,
configuration: config
)
try pipeline.loadResources()
timer.stop()
print("Create new StableDiffusionPipeline for model \(model): done after \(timer.median)s")
return pipeline
Expand Down

0 comments on commit 0bb630a

Please sign in to comment.