Update runner.py
This commit is contained in:
parent
ed0e186a13
commit
1d1d8538c9
|
@ -26,7 +26,7 @@ class Runner:
|
||||||
self.running = False
|
self.running = False
|
||||||
|
|
||||||
def initialize(
|
def initialize(
|
||||||
self, lang: str, model_name: str, dataset: list
|
self, lang: str, model_name: str, dataset: List[str]
|
||||||
) -> Tuple[str, str, LoggerHandler, LogCallback]:
|
) -> Tuple[str, str, LoggerHandler, LogCallback]:
|
||||||
if self.running:
|
if self.running:
|
||||||
return None, ALERTS["err_conflict"][lang], None, None
|
return None, ALERTS["err_conflict"][lang], None, None
|
||||||
|
|
Loading…
Reference in New Issue