2023-11-20 15:53:42 +01:00
|
|
|
from django import forms
|
2023-12-13 02:11:29 +01:00
|
|
|
from .models import UploadImage
|
|
|
|
|
2023-11-20 15:53:42 +01:00
|
|
|
|
|
|
|
class DetectForm(forms.ModelForm):
|
|
|
|
class Meta:
|
2023-12-13 02:11:29 +01:00
|
|
|
model = UploadImage
|
|
|
|
fields = [
|
|
|
|
"image",
|
|
|
|
]
|
|
|
|
labels = {"image": ""}
|