hello_python / app.py
rebase's picture
Update app.py
c4b86a0
raw
history blame
230 Bytes
import gradio as gr
from datasets import load_dataset
dataset = load_dataset("rebase/hello")
def image_classifier(inp):
return dataset
demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
demo.launch()