Unverified Commit d365f507 authored by nikkie's avatar nikkie Committed by GitHub
Browse files

Fix RuntimeError message format (#16906)

parent 10dfa126
......@@ -493,8 +493,8 @@ def pipeline(
if task is None and model is None:
raise RuntimeError(
"Impossible to instantiate a pipeline without either a task or a model"
"being specified."
"Impossible to instantiate a pipeline without either a task or a model "
"being specified. "
"Please provide a task class or a model"
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment