hello_python / app.py
rebase's picture
Update app.py
e893ceb
Raw
History Blame
232 Bytes
import gradio as gr
from datasets import load_dataset
dataset = load_dataset("rebase/hello.csv")
def image_classifier(inp):
return dataset
demo = gr.Interface(fn=image_classifier, inputs="text", outputs="text")
demo.launch()