Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/ai-dock/comfyui into main
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Aug 15, 2024
2 parents 5d83fe7 + 727b5b9 commit bb1ea3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/provisioning/default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function provisioning_has_valid_civitai_token() {
url="https://civitai.com/api/v1/models?hidden=1&limit=1"

response=$(curl -o /dev/null -s -w "%{http_code}" -X GET "$url" \
-H "Authorization: Bearer $HF_TOKEN" \
-H "Authorization: Bearer $CIVITAI_TOKEN" \
-H "Content-Type: application/json")

# Check if the token is valid
Expand Down
2 changes: 1 addition & 1 deletion config/provisioning/flux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function provisioning_has_valid_civitai_token() {
url="https://civitai.com/api/v1/models?hidden=1&limit=1"

response=$(curl -o /dev/null -s -w "%{http_code}" -X GET "$url" \
-H "Authorization: Bearer $HF_TOKEN" \
-H "Authorization: Bearer $CIVITAI_TOKEN" \
-H "Content-Type: application/json")

# Check if the token is valid
Expand Down

0 comments on commit bb1ea3b

Please sign in to comment.