Instructions to use pablorodriper/vivit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use pablorodriper/vivit with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://pablorodriper/vivit") - Notebooks
- Google Colab
- Kaggle
Configuration
title: string
Display title for the Space
emoji: string
Space emoji (emoji-only character allowed)
colorFrom: string
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
colorTo: string
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
sdk: string
Can be either gradio, streamlit, or static
sdk_version : string
Only applicable for streamlit SDK.
See doc for more info on supported versions.
app_file: string
Path to your main application file (which contains either gradio or streamlit Python code, or static html code).
Path is relative to the root of the repository.
models: List[string]
HF model IDs (like "gpt2" or "deepset/roberta-base-squad2") used in the Space.
Will be parsed automatically from your code if not specified here.
datasets: List[string]
HF dataset IDs (like "common_voice" or "oscar-corpus/OSCAR-2109") used in the Space.
Will be parsed automatically from your code if not specified here.
pinned: boolean
Whether the Space stays on top of your list.
- Downloads last month
- -