Spaces:
Build error
Build error
| from django import forms | |
| class URLInputForm(forms.Form): | |
| post = forms.URLField(label="Paste image url here:") | |
| label = forms.CharField(label="Type of Food:", required=False) | |
| class ImageUploadForm(forms.Form): | |
| img = forms.ImageField(label="User uploaded image") | |
| label = forms.CharField(label="Type of Food:", required=False) | |