Update main.py

This commit is contained in:
Amrasil 2025-03-27 15:25:09 +01:00 committed by GitHub
parent c3877f894e
commit a02e6ccb42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -171,7 +171,8 @@ def image_recognition():
"""
generate a description of an image
:return: json
:return: json formatted description
:rtype: json
"""
# note that the classifier is a singleton
if 'image' not in request.files: