Skip to content

Commit

Permalink
Update flux.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne authored Aug 10, 2024
1 parent 93fd7f1 commit 727b5b9
Showing 1 changed file with 1 addition and 1 deletion.
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 727b5b9

Please sign in to comment.