Updated to latest version of STARK

This commit is contained in:
lkrsnik 2024-01-22 15:06:36 +01:00
parent 757407a247
commit 0735ba4f5a

3
app.py
View File

@ -236,6 +236,8 @@ def create_app():
configs['query'] = None configs['query'] = None
configs['compare'] = None configs['compare'] = None
configs['sentence_count_file'] = None
configs['detailed_results_file'] = None
configs['frequency_threshold'] = 0 configs['frequency_threshold'] = 0
configs['lines_threshold'] = None configs['lines_threshold'] = None
@ -250,6 +252,7 @@ def create_app():
configs['grew_match'] = True configs['grew_match'] = True
configs['depsearch'] = False configs['depsearch'] = False
configs['example'] = False
name = ''.join(random.choices(string.ascii_uppercase + string.digits, k=60)) name = ''.join(random.choices(string.ascii_uppercase + string.digits, k=60))
configs['output'] = os.path.join('media', name) configs['output'] = os.path.join('media', name)
if len(validation) > 0: if len(validation) > 0: