Skip to content

Commit

Permalink
Added in print_warning msg that only nlu_model was created
Browse files Browse the repository at this point in the history
  • Loading branch information
RanaMostafaAbdElMohsen committed Jul 8, 2019
1 parent afa566f commit 2cbb5b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rasa/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def handle_domain_if_not_exists(
fixed_model_name=fixed_model_name,
)
print_warning(
"Core training is skipped because no domain was found. "
"Core training was skipped because no valid domain file was found. Only an nlu-model was created."
"Please specify a valid domain using '--domain' argument or check if the provided domain file exists."
)
return nlu_model_only
Expand Down Expand Up @@ -320,7 +320,7 @@ async def train_core_async(
domain.check_missing_templates()
except InvalidDomain:
print_error(
"Core training is skipped because no domain was found. "
"Core training was skipped because no valid domain file was found. "
"Please specify a valid domain using '--domain' argument or check if the provided domain file exists."
)
return None
Expand Down

0 comments on commit 2cbb5b1

Please sign in to comment.