Skip to content

Commit

Permalink
Add newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Acly committed Sep 17, 2024
1 parent 044be26 commit ebe4042
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ai_diffusion/comfy_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

if util.is_macos:
import os

if "SSL_CERT_FILE" not in os.environ:
os.environ["SSL_CERT_FILE"] = "/etc/ssl/cert.pem"

Expand Down
2 changes: 2 additions & 0 deletions scripts/download_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@

try:
import truststore

truststore.inject_into_ssl()
except ImportError:
pass


def _progress(name: str, size: int | None):
return tqdm(
total=size,
Expand Down

0 comments on commit ebe4042

Please sign in to comment.