File size: 392 Bytes
8a6b560 |
1 2 3 4 5 6 7 8 9 10 |
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}"
|