Fix error messages

This commit is contained in:
Andras Schmelczer 2022-08-13 16:55:34 +02:00
parent 955f0ceacc
commit 2f750c2478
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
2 changed files with 3 additions and 3 deletions

View file

@ -184,7 +184,7 @@ def find_app(file_name: str) -> Optional[str]:
logger.info(f"Found `{app_name}` to be the GreatAI app ")
else:
raise MissingArgumentError(
"GreatAI app could not be found, make sure to use `@GreatAI.deploy` on your prediction function"
"GreatAI app could not be found, make sure to use `@GreatAI.create` on your prediction function"
)
return f"{file_name}:{app_name}.app"