Spaces:
Runtime error
Runtime error
File size: 813 Bytes
743fd42 4b0aadc 743fd42 |
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 |
# --- 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) |