mirror of
https://github.com/senju1337/senju.git
synced 2025-12-23 23:39:27 +00:00
Update main.py
This commit is contained in:
parent
c3877f894e
commit
a02e6ccb42
1 changed files with 2 additions and 1 deletions
|
|
@ -171,7 +171,8 @@ def image_recognition():
|
||||||
"""
|
"""
|
||||||
generate a description of an image
|
generate a description of an image
|
||||||
|
|
||||||
:return: json
|
:return: json formatted description
|
||||||
|
:rtype: json
|
||||||
"""
|
"""
|
||||||
# note that the classifier is a singleton
|
# note that the classifier is a singleton
|
||||||
if 'image' not in request.files:
|
if 'image' not in request.files:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue