TestTextExists / app.py
Rudra Shailendra Nanivadekar
Update app.py
5bc86f7
raw
history blame contribute delete
288 Bytes
from datasets import load_dataset
import gradio as gr
dataset = load_dataset("orange6996/autotrain-data-testtextexists", use_auth_token=True)
def greet(name):
name = dataset.Text()
return dataset.Score()
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()