Delete brushnet
Browse files
brushnet/.ipynb_checkpoints/download_script-checkpoint.sh
DELETED
|
@@ -1,25 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
|
| 3 |
-
if [ $# -ne 2 ]; then
|
| 4 |
-
echo "Usage: $0 <file_url> <destination_path>"
|
| 5 |
-
exit 1
|
| 6 |
-
fi
|
| 7 |
-
|
| 8 |
-
file_url=$1
|
| 9 |
-
destination_path=$2
|
| 10 |
-
|
| 11 |
-
confirmation_page=$(curl -s -L "$file_url")
|
| 12 |
-
|
| 13 |
-
file_id=$(echo "$confirmation_page" | grep -oE "name=\"id\" value=\"[^\"]+" | sed 's/name="id" value="//')
|
| 14 |
-
file_confirm=$(echo "$confirmation_page" | grep -oE "name=\"confirm\" value=\"[^\"]+" | sed 's/name="confirm" value="//')
|
| 15 |
-
file_uuid=$(echo "$confirmation_page" | grep -oE "name=\"uuid\" value=\"[^\"]+" | sed 's/name="uuid" value="//')
|
| 16 |
-
|
| 17 |
-
download_url="https://drive.usercontent.google.com/download?id=$file_id&export=download&confirm=$file_confirm&uuid=$file_uuid"
|
| 18 |
-
|
| 19 |
-
curl -L -o "$destination_path" "$download_url"
|
| 20 |
-
|
| 21 |
-
if [ $? -eq 0 ]; then
|
| 22 |
-
echo "Download completed successfully."
|
| 23 |
-
else
|
| 24 |
-
echo "Download failed."
|
| 25 |
-
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
brushnet/download_script.sh
DELETED
|
@@ -1,25 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
|
| 3 |
-
if [ $# -ne 2 ]; then
|
| 4 |
-
echo "Usage: $0 <file_url> <destination_path>"
|
| 5 |
-
exit 1
|
| 6 |
-
fi
|
| 7 |
-
|
| 8 |
-
file_url=$1
|
| 9 |
-
destination_path=$2
|
| 10 |
-
|
| 11 |
-
confirmation_page=$(curl -s -L "$file_url")
|
| 12 |
-
|
| 13 |
-
file_id=$(echo "$confirmation_page" | grep -oE "name=\"id\" value=\"[^\"]+" | sed 's/name="id" value="//')
|
| 14 |
-
file_confirm=$(echo "$confirmation_page" | grep -oE "name=\"confirm\" value=\"[^\"]+" | sed 's/name="confirm" value="//')
|
| 15 |
-
file_uuid=$(echo "$confirmation_page" | grep -oE "name=\"uuid\" value=\"[^\"]+" | sed 's/name="uuid" value="//')
|
| 16 |
-
|
| 17 |
-
download_url="https://drive.usercontent.google.com/download?id=$file_id&export=download&confirm=$file_confirm&uuid=$file_uuid"
|
| 18 |
-
|
| 19 |
-
curl -L -o "$destination_path" "$download_url"
|
| 20 |
-
|
| 21 |
-
if [ $? -eq 0 ]; then
|
| 22 |
-
echo "Download completed successfully."
|
| 23 |
-
else
|
| 24 |
-
echo "Download failed."
|
| 25 |
-
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
brushnet/random_mask.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bb94edf13c2284098a5cac01280d810abba53cf4e5f0d795ddc65ff36f0754e6
|
| 3 |
-
size 2475354520
|
|
|
|
|
|
|
|
|
|
|
|
brushnet/segmentation_mask.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:066793867083310c25b0d57d300b1ecdc02cb708a155060f020be64afb2ae9c3
|
| 3 |
-
size 2475354520
|
|
|
|
|
|
|
|
|
|
|
|