-
Notifications
You must be signed in to change notification settings - Fork 14
/
config_sample.toml
96 lines (85 loc) · 1.84 KB
/
config_sample.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[globals]
url = "https://szuru.example.com"
username = "my_szuru_user"
api_token = "my_api_token"
public = false
hide_progress = false
[credentials]
[credentials.pixiv]
token = "None"
[logging]
log_enabled = false
log_file = "szurubooru_toolkit.log"
log_level = "INFO"
log_colorized = true
[auto_tagger]
saucenao_api_token = "my_saucenao_api_token"
saucenao = true
md5_search = true
deepbooru = false
deepbooru_model = "./misc/deepbooru/model-resnet_custom_v3.h5"
deepbooru_threshold = 0.7
deepbooru_forced = false
deepbooru_set_tag = true
default_safety = "safe"
use_pixiv_artist = false
use_pixiv_tags = false
update_relations = true
hide_progress = false
limit = 0
[create_relations]
threshold = 3
hide_progress = false
[create_tags]
limit = 100
min_post_count = 10
query = '*'
overwrite = false
hide_progress = false
[delete_posts]
hide_progress = false
[import_from_booru]
deepbooru = false
max_similarity = "0.95"
convert_to_jpg = false
convert_threshold = "3MB"
convert_quality = 90
shrink = false
shrink_threshold = 6000000
shrink_dimensions = "2500x2500"
default_safety = "safe"
hide_progress = false
[import_from_url]
deepbooru = false
tmp_path = './tmp/gallery_dl'
use_twitter_artist = false
max_similarity = "0.95"
convert_to_jpg = false
convert_threshold = "3MB"
convert_quality = 90
shrink = false
shrink_threshold = 6000000
shrink_dimensions = "2500x2500"
default_safety = "safe"
update_tags_if_exists = false
hide_progress = false
[reset_posts]
hide_progress = false
[tag_posts]
update_implications = false
mode = 'append'
hide_progress = false
[upload_media]
src_path = "/local/path/to/upload/dir"
cleanup = false
tags = ["tagme"]
auto_tag = true
max_similarity = "0.95"
convert_to_jpg = false
convert_threshold = "3MB"
convert_quality = 90
shrink = false
shrink_threshold = 6000000
shrink_dimensions = "2500x2500"
default_safety = "safe"
hide_progress = false