第一次合并clean代码
This commit is contained in:
18
config.py
Normal file
18
config.py
Normal file
@@ -0,0 +1,18 @@
|
||||
class ConfigFactory:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
|
||||
class ReparagraphConfig(ConfigFactory):
|
||||
"""配置类"""
|
||||
def __init__(self):
|
||||
self.remove_refs = False
|
||||
self.max_file_size = 10 * 1024 * 1024 # 10MB
|
||||
self.backup = True
|
||||
self.dry_run = False
|
||||
self.parallel = False
|
||||
self.task_name = "result_reparagraph"
|
||||
self.openai_base_url = None
|
||||
self.openai_api_key = None
|
||||
self.model_name = None
|
||||
self.max_retries = 5
|
||||
Reference in New Issue
Block a user