phyloforfun commited on
Commit
5e5ce28
1 Parent(s): 82e0572

Major update. Support for 15 LLMs, World Flora Online taxonomy validation, geolocation, 2 OCR methods, significant UI changes, stability improvements, consistent JSON parsing

Browse files
requirements.txt CHANGED
Binary files a/requirements.txt and b/requirements.txt differ
 
vouchervision/vouchervision_main.py CHANGED
@@ -3,10 +3,10 @@ VoucherVision - based on LeafMachine2 Processes
3
  '''
4
  import os, inspect, sys, shutil
5
  from time import perf_counter
6
- # currentdir = os.path.dirname(os.path.dirname(inspect.getfile(inspect.currentframe())))
7
- # parentdir = os.path.dirname(currentdir)
8
- # sys.path.append(parentdir)
9
- # sys.path.append(currentdir)
10
  from vouchervision.component_detector.component_detector import detect_plant_components, detect_archival_components
11
  from vouchervision.general_utils import save_token_info_as_csv, print_main_start, check_for_subdirs_VV, load_config_file, load_config_file_testing, report_config, save_config_file, crop_detections_from_images_VV
12
  from vouchervision.directory_structure_VV import Dir_Structure
 
3
  '''
4
  import os, inspect, sys, shutil
5
  from time import perf_counter
6
+ currentdir = os.path.dirname(os.path.dirname(inspect.getfile(inspect.currentframe())))
7
+ parentdir = os.path.dirname(currentdir)
8
+ sys.path.append(parentdir)
9
+ sys.path.append(currentdir)
10
  from vouchervision.component_detector.component_detector import detect_plant_components, detect_archival_components
11
  from vouchervision.general_utils import save_token_info_as_csv, print_main_start, check_for_subdirs_VV, load_config_file, load_config_file_testing, report_config, save_config_file, crop_detections_from_images_VV
12
  from vouchervision.directory_structure_VV import Dir_Structure