Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Raphael Glon <oOraph@users.noreply.github.com>
  • Loading branch information
oOraph committed Nov 29, 2023
1 parent 29270b8 commit 05cbc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker_images/diffusers/app/pipelines/text_to_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, model_id: str):
self.use_auth_token = os.getenv("HF_API_TOKEN")
# This should allow us to make the image work with private models when no token is provided, if the said model
# is already in local cache
self.offline_preferred = os.getenv("OFFLINE_PREFERRED")
self.offline_preferred = validation.str_to_bool(os.getenv("OFFLINE_PREFERRED"))
fetched = False
if self.offline_preferred:
cache_root = os.getenv(
Expand Down

0 comments on commit 05cbc84

Please sign in to comment.