Spaces:
Sleeping
Sleeping
import gradio as gd | |
def greeting(name, history): | |
return(f"Hello {name}!") | |
demo = gd.ChatInterface(fn=greeting, | |
textbox=gd.Textbox(placeholder="Type the name to greet:", container=False, scale=7), | |
title="Greeting", | |
) | |
demo.launch() |