Spaces:
Running
Running
phyloforfun
commited on
Commit
•
82e0572
1
Parent(s):
7e12cb7
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
vouchervision/vouchervision_main.py
CHANGED
@@ -3,11 +3,11 @@ 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 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
|
13 |
from vouchervision.data_project import Project_Info
|
|
|
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
|
13 |
from vouchervision.data_project import Project_Info
|