Skip to content

Commit

Permalink
Remove feature vector rule
Browse files Browse the repository at this point in the history
  • Loading branch information
gkourie committed Dec 19, 2024
1 parent ca8c43a commit 6df585f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Http/Requests/StoreImageAnnotationLabel.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ public function authorize()
public function rules()
{
return [
'label_id' => 'required_without:feature_vector|integer|exists:labels,id',
'feature_vector' => 'required_without:label_id|array|size:384',
'label_id' => 'required|integer|exists:labels,id',
'confidence' => 'required|numeric|between:0,1',
];
}
Expand Down

0 comments on commit 6df585f

Please sign in to comment.