Skip to content

Commit

Permalink
Add pillow
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Mar 4, 2024
1 parent b4f1d46 commit 3ee6d12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion backend/python/diffusers/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ if [ -d "/opt/intel" ]; then
diffusers==0.24.0 \
transformers>=4.25.1 \
accelerate \
compel==2.0.2
compel==2.0.2 \
Pillow
fi

if [ "$PIP_CACHE_PURGE" = true ] ; then
Expand Down
2 changes: 1 addition & 1 deletion core/backend/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func ImageGeneration(height, width, mode, step, seed int, positive_prompt, negat
opts := modelOpts(backendConfig, appConfig, []model.Option{
model.WithBackendString(backendConfig.Backend),
model.WithAssetDir(appConfig.AssetsDestination),
model.WithThreads(uint32(appConfig.Threads)),
model.WithThreads(uint32(backendConfig.Threads)),
model.WithContext(appConfig.Context),
model.WithModel(backendConfig.Model),
model.WithLoadGRPCLoadModelOpts(gRPCOpts),
Expand Down

0 comments on commit 3ee6d12

Please sign in to comment.