villm / main.py
tonne's picture
change to gradio
e4b3e0a
raw
history blame
153 Bytes
import gradio as gr
def greet(name):
return "Hello " + name + "!"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()