File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1414 "require" : {
1515 "php" : " ^8.1" ,
1616 "symfony/console" : " ^7.0" ,
17- "codewithkyrian/transformers" : " *"
17+ "codewithkyrian/transformers" : " *" ,
18+ "rokka/imagine-vips" : " dev-master"
1819 },
1920 "require-dev" : {
2021 "symfony/var-dumper" : " ^7.0"
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public static function fromPretrained(
7272 }
7373
7474 if (static ::BASE_IF_FAIL ) {
75- trigger_error ("Unknown model class for model type {$ config ->modelType }. Using base class PreTrainedModel. " );
75+ trigger_error ("Unknown model class for model type {$ config ->modelType }. Using base class PreTrainedModel. " , E_USER_WARNING );
7676
7777 return PretrainedModel::fromPretrained (
7878 modelNameOrPath: $ modelNameOrPath ,
You can’t perform that action at this time.
0 commit comments