Skip to content

Commit

Permalink
Add username in training endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Oct 17, 2024
1 parent a1fb387 commit 558c24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class DatasetViewSet(
class TrainingSerializer(
serializers.ModelSerializer
): # serializers are used to translate models objects to api

user = UserSerializer(read_only=True)
multimasks = serializers.BooleanField(required=False, default=False)
input_contact_spacing = serializers.IntegerField(
required=False, default=8, min_value=0, max_value=20
Expand Down

0 comments on commit 558c24a

Please sign in to comment.