Spaces:
Sleeping
Sleeping
File size: 809 Bytes
8ba15ea 1f22e94 8ba15ea 36a20b5 8ba15ea | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 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()
|