[Images] Fixed images recognition with google

This commit is contained in:
Alexis LEBEL
2023-04-02 14:42:37 +02:00
parent 187b833474
commit dc48b7d21e
2 changed files with 6 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ from google.cloud import vision
try:
client = vision.ImageAnnotatorClient()
except:
debug("Google Vision API is not setup, please run /setup")
print("Google Vision API is not setup, please run /setup")
@@ -64,4 +64,4 @@ async def process(attachment):
return final
except Exception as e:
debug("Error while processing image: " + str(e))
print("Error while processing image: " + str(e))