
import gradio as gr
gr.load("huggingface/google/vit-base-patch16-224",).launch(share=True)Fetching model from: https://huggingface.co/google/vit-base-patch16-224
---------------------------------------------------------------------------
ModelNotFoundError Traceback (most recent call last)
/tmp/ipython-input-4249656577.py in <cell line: 0>()
1 import gradio as gr
2
----> 3 gr.load("huggingface/google/vit-base-patch16-224",).launch(share=True)
2 frames
/usr/local/lib/python3.12/dist-packages/gradio/external.py in from_model(model_name, hf_token, alias, **kwargs)
113 response = httpx.request("GET", api_url, headers=headers)
114 if response.status_code != 200:
--> 115 raise ModelNotFoundError(
116 f"Could not find model: {model_name}. If it is a private or gated model, please provide your Hugging Face access token (https://huggingface.co/settings/tokens) as the argument for the `hf_token` parameter."
117 )
ModelNotFoundError: Could not find model: google/vit-base-patch16-224. If it is a private or gated model, please provide your Hugging Face access token (https://huggingface.co/settings/tokens) as the argument for the `hf_token` parameter.