test / app.py
inLine-XJY's picture
Upload 5 files
21477f2 verified
raw
history blame contribute delete
No virus
224 Bytes
import gradio
def my_inference_function(name):
return "Hello " + name + "!"
gradio_interface = gradio.Interface(
fn = my_inference_function,
inputs = "text",
outputs = "text"
)
gradio_interface.launch()