nateraw/huggingpics

Image search returns max 35 results

dumbshow opened this issue · 4 comments

Hi,

The image search at https://huggingface.co/api/experimental/images/search returns max 35 results. Values lower than 35 in the "count" parameter are honored; values above 35 are ignored and 35 results are returned. Your great tutorial suggests that 150 results can be gathered through this API for each query. Has the image search API changed? Thank you!

Will take a look when I have a chance later this week/early next week. thanks for reporting.

hmm for me https://huggingface.co/api/experimental/images/search?q=corgi&count=150 returns 150 hits, could it be that something specific happening with you q term?

@julien-c yea this sounds right to me too. @dumbshow do you remember the query you were using?

Yes, it must have been that. I am seeing 150 results for the "corgi" query above.
Apologies for the false alarm. Thanks to both of you for the help.