hello_python / app.py
rebase's picture
Update app.py
9aadb46
Raw
History Blame
228 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="text", outputs="text")
demo.launch()