Spaces:
Runtime error
Runtime error
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() |