Skip to content

Commit

Permalink
Download flux model for now
Browse files Browse the repository at this point in the history
  • Loading branch information
yekta committed Sep 5, 2024
1 parent a6825c2 commit b292aeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/endpoints/flux1/pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def get_pipe_object(to_cuda: bool = True) -> Flux1PipeObject:


if __name__ == "__main__":
""" get_pipe_object(to_cuda=False) """
logging.info("🔵 Skip downloading model")
get_pipe_object(to_cuda=False)
""" logging.info("🔵 Skip downloading model")
folder = os.environ.get("HF_DATASETS_CACHE", None)
if folder is not None:
os.makedirs(folder, exist_ok=True)
os.makedirs(folder, exist_ok=True) """

0 comments on commit b292aeb

Please sign in to comment.