regression / app.py
Wei Wang
test
13e3b7d
raw
history blame contribute delete
271 Bytes
import gradio as gr
def greet(name, number):
return "Hello Damon!! " + f"I see you eating {number} cups of {name}, haha !!"
iface = gr.Interface(fn=greet,
inputs=["text", gr.Slider(0, 100)],
outputs="text")
iface.launch()
# auth=("admin", "123") )