Skip to main content
The LLaVA class provides a wrapper for the LLaVA model, which answers questions about visual media (images) using the LLaVA framework.
boolean
default:"False"
If True, inference call is run on the local VM, else offloaded onto GRID-Cortex. Defaults to False.
np.ndarray
required
The input RGB image of shape (M,N,3)(M,N,3).
str
required
The question to answer about the media.
str
The response to the prompt.
This code is licensed under the Apache 2.0 License.