WineMatching / app.py
j-s-v's picture
2025-07-11
c5b2790
raw
history blame contribute delete
765 Bytes
from processor.processor import Processor
from constants.constants import *
from ui.gradio_ui import GradioUI
from search.search_by_id import Searcher
if __name__ == "__main__":
processor=Processor(LONG_TYPES_LIST,
SHORT_TYPES_LIST,
SOUR,
WINE_TYPES,
GBS,
GRAPES,
OTHER_WORDS,
#SOUR_MERGE_DICT,
TYPES_WINES_DICT,
COLOR_MERGE_DICT,
COUNTRY_LIST
)
searcher=Searcher()
#ui=GradioUI(processor, searcher, "/home/user/app/_data/")
ui=GradioUI(processor, searcher, "_data")
ui.run_ui()