From d945fe936d250877e141fce748783d4fc7d591de Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sat, 23 Dec 2023 07:59:19 +0100 Subject: WIP: Orphans --- test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test.sh') diff --git a/test.sh b/test.sh index 3609de4..84d4016 100755 --- a/test.sh +++ b/test.sh @@ -10,7 +10,7 @@ cp -ra $HOME/Pictures/Anime $input #./gallery import $target $input ./gallery sync $target $input ./gallery thumbnail $target -./gallery dhash $target $HOME/Projects/fiv/build/hash +./gallery dhash $target ./gallery tag $target autotagger "DanBooru autotagger" \ < ../build-db/autotagger.tsv @@ -23,6 +23,10 @@ echo '{"sha1":"d53fc82162fd19a6e7b92b401b08b7505dbf3dfd"}' | \ curl http://localhost:8080/api/info -X POST --data-binary @- echo '{"sha1":"9539d9895ab8c25d76c321b23b8a327801a496bb"}' | \ curl http://localhost:8080/api/similar -X POST --data-binary @- +echo '{}' | \ +curl http://localhost:8080/api/duplicates -X POST --data-binary @- +echo '{}' | \ +curl http://localhost:8080/api/orphans -X POST --data-binary @- kill $web wait $web -- cgit v1.2.3-70-g09d2