File size: 269 Bytes
94080f8
 
d6defa6
 
 
 
 
1
2
3
4
5
6
7
from datasets import load_dataset
import gradio as gr
dataset = load_dataset("orange6996/autotrain-data-testtextexists", use_auth_token=True)
def greet(name):
    return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()