更新验证器提价
This commit is contained in:
52
config.ini
Normal file
52
config.ini
Normal file
@@ -0,0 +1,52 @@
|
||||
[General]
|
||||
chrome_user_dir = C:\Program Files\Google\Chrome\Application\chrome.exe
|
||||
articles_path = articles
|
||||
images_path = picture
|
||||
title_file = D:/work/code/python/ArticleReplaceBatch/examples/文章链接.xlsx
|
||||
max_threads = 3
|
||||
min_article_length = 100
|
||||
enable_plagiarism_detection = false
|
||||
|
||||
[Coze]
|
||||
workflow_id = 7585917439394922505
|
||||
access_token = pat_PrZScnamN8VNsuczGlFAoCkIGYbKi3vR0Oja8AlHOQ20IUOF6sscoh8QJc0M3D7O
|
||||
is_async = false
|
||||
input_data_template = {"article": "{article_text}", "link":"{link}", "weijin":"{weijin}"}
|
||||
last_used_template = 娱乐1
|
||||
last_used_template_type = 短篇
|
||||
|
||||
[Database]
|
||||
host =
|
||||
user =
|
||||
password =
|
||||
database = toutiao
|
||||
|
||||
[Dify]
|
||||
api_key =
|
||||
user_id = toutiao
|
||||
url = http://27.106.125.150/v1/workflows/run
|
||||
input_data_template = {"old_article": "{article_text}"}
|
||||
|
||||
[Baidu]
|
||||
api_key =
|
||||
secret_key =
|
||||
enable_detection = false
|
||||
save_violation_articles = true
|
||||
|
||||
[ImageModify]
|
||||
crop_percent = 0.02
|
||||
min_rotation = 0.3
|
||||
max_rotation = 3.0
|
||||
min_brightness = 0.8
|
||||
max_brightness = 1.2
|
||||
watermark_text = Qin Quan Shan Chu
|
||||
watermark_opacity = 128
|
||||
overlay_opacity = 30
|
||||
|
||||
[Keywords]
|
||||
banned_words = 珠海,落马,股票,股市,股民,爆炸,火灾,死亡,抢劫,诈骗,习大大,习近平,政府,官员,扫黑,警察,落网,嫌疑人,通报,暴力执法,执法,暴力,气象,天气,暴雨,大雨
|
||||
|
||||
[Templates]
|
||||
templates_短篇 = [{"name": "娱乐1", "workflow_id": "7585917439394922505", "access_token": "pat_PrZScnamN8VNsuczGlFAoCkIGYbKi3vR0Oja8AlHOQ20IUOF6sscoh8QJc0M3D7O", "is_async": "false"}]
|
||||
templates_文章 = [{"name": "1.娱乐", "workflow_id": "7578332620418088970", "access_token": "pat_PrZScnamN8VNsuczGlFAoCkIGYbKi3vR0Oja8AlHOQ20IUOF6sscoh8QJc0M3D7O", "is_async": "false"}]
|
||||
|
||||
Reference in New Issue
Block a user