imagenette / inference.py
Alex Cabrera
initial commit
8bc0b6a
raw history blame
No virus
274 Bytes
from zeno import inference, ZenoOptions
import gradio as gr
@inference
def gradio_inference(ops: ZenoOptions):
return (
[gr.Image(type="filepath"), gr.Textbox(label="Label")],
gr.Text(label="Output"),
[ops.data_column, ops.label_column],
)