first / app.py
vikramjeetthakur's picture
Update app.py
651567a verified
raw
history blame contribute delete
218 Bytes
import gradio as gr
def greet(name, intensity):
return "Hello, " + name + "!" * int(intensity)
demo = gr.Interface( fn=greet, inputs=["text", "slider"], outputs=["text"],
)
demo.launch()