gradio 3.38.0 requires huggingface-hub>=0.14.0, which is not installed.
- User
gradio 3.38.0 requires huggingface-hub>=0.14.0, which is not installed.
- Assistant
It seems like you're trying to install or run Gradio version 3.38.0, but it's giving you an error because the required version of the
huggingface-hubpackage is not installed. You'll need to installhuggingface-hubversion 0.14.0 or later to resolve this issue. Here's how you can do it:-
If you're using
pip, you can install the required package by running:bashpip install huggingface-hub>=0.14.0 -
If you want to update an already installed version of
huggingface-hubto ensure you have the latest, you can run:bashpip install --upgrade huggingface-hub
Once you have
huggingface-hubversion 0.14.0 or later installed, you should be able to use Gradio 3.38.0 without this dependency issue.If you encounter any further issues, please make sure your Python environment is set up correctly and that there are no conflicts with other installed packages.
-
- User
j ai choisi TensorRT mais il ne passe pas sur le GPU ? Launching App INFO:albumentations.check_version:A new version of Albumentations is available: 1.4.18 (you have 1.4.10). Upgrade using: pip install --upgrade albumentations Using provider ['TensorrtExecutionProvider'] - Device:cpu
- Assistant
If you've chosen to use TensorRT with the expectation that it will leverage your GPU but find that it's running on the CPU instead, there are a few areas you might want to check and adjust: