EasyDetect / app.py
sunnychenxiwang's picture
update app.py
5076732
raw
history blame
187 Bytes
import gradio as gr
def greet(name, cnt):
return "Hello " * cnt + name + "!"
demo = gr.Interface(
fn=greet,
inputs=["text", "slider"],
outputs=["text"],
)
demo.launch()