gradio / gradio_tool.py
reisarod's picture
Upload folder using huggingface_hub
5fae594 verified
raw
history blame contribute delete
278 Bytes
class GradioTool(BaseTool):
def __init__(self, name: str, description: str, src: str) -> None:
@abstractmethod
def create_job(self, query: str) -> Job:
pass
@abstractmethod
def postprocess(self, output: Tuple[Any] | Any) -> str:
pass