Gainward777's picture
Upload 22 files
1f22e94 verified
raw
history blame contribute delete
809 Bytes
from processor.processor import Processor
from constants.constants import *
from ui.gradio_ui import GradioUI
from search.search_by_id import Searcher
processor=Processor(LONG_TYPES_LIST,
SHORT_TYPES_LIST,
SOUR,
WINE_TYPES,
GBS,
COLORS_FOR_TRIM,
GRAPES,
OTHER_WORDS,
SOUR_MERGE_DICT,
TYPES_WINES_DICT,
COLOR_MERGE_DICT,
COUNTRY_LIST,
NORMALIZED_NAMES_ALTERNATIVES_DICT
)
searcher=Searcher()
ui=GradioUI(processor, searcher, "/home/user/app/_data/")
#ui=GradioUI(processor, searcher, "_data")
ui.run_ui()