When there are no species in the picture, the image search might take a long time and didn't return anything.
Potential solution
Add 30 seconds timeout for both image search and text search. If searching time exceeds 30 seconds, show a pop message to the user saying that either the connection is bad or the image is not valid.
Issue
When there are no species in the picture, the image search might take a long time and didn't return anything.
Potential solution
Add 30 seconds timeout for both image search and text search. If searching time exceeds 30 seconds, show a pop message to the user saying that either the connection is bad or the image is not valid.