edia_datos_es / app.py
nanom's picture
fixed license path
4b0aadc
raw
history blame
813 Bytes
# --- Imports modules ---
from modules.module_vocabulary import Vocabulary
# --- Imports interfaces ---
from interfaces.interface_datos import interface as interface_datos
# --- Tool config ---
AVAILABLE_LOGS = True # [True | False]
LANGUAGE = "spanish" # [spanish]
VOCABULARY_SUBSET = "full" # [full]
# ToDo: Change the owner of the context dataset from nanom to vialibre
CONTEXTS_DATASET = "nanom/splittedspanish3bwc"
# --- Init classes ---
vocabulary = Vocabulary(
subset_name=VOCABULARY_SUBSET
)
# --- Main App ---
iface = interface_datos(
vocabulary=vocabulary,
contexts=CONTEXTS_DATASET,
available_logs=AVAILABLE_LOGS,
lang=LANGUAGE
)
iface.queue(concurrency_count=8)
iface.launch(debug=False)