zahrach0724's picture
full model
8a6b560
raw
history blame
392 Bytes
from django.db import models
class Attendance_Label_Prediction(models.Model):
image = models.ImageField(upload_to='images/') # Adjust 'upload_to' to specify the path where uploaded images will be stored
predicted_label = models.IntegerField(null=True,default=False) # Add this field to store the predicted label
def __str__(self):
return f"Image Prediction {self.pk}"