Enhanced `InferenceClient` (#1474)
* First draft for an enhanced InferenceClient
* Added more tasks
* docs
* handle image and audio from URLs as well
* open anything as binary
* image-to-image + some refacto
* make InferenceClient experiemental for now
* Handle timeouts
* comments and docstrings
* docs
* fix docs
* fix docs?
* stupid copy-paste
* unity
* add text-to-image
* change
* better
* better docs?
* remove experiemntal
* not experimental at all
* implement feature-extraction
* sentence similarity + docstrings
* image to text
* docstring
* move warnings in docs
* quality
* more docs
* fix code block
* detailed guide
* typos
* links in docs
* fix types
* more links
* add a todo
* Add VCR tests
* more tests
* No VCR recording in CI
* pip freeze in CI
* use urllib3 v1.x in tests
* Apply suggestions from code review
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
* requested changed
* add reco
* supported list as table instead
* table header
* Update tests/test_inference_client.py
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
---------
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>