ddewaele's picture
smolagents test
82ccb03
raw
history blame contribute delete
296 Bytes
import gradio as gr
def greet(name, intensity):
return "Hello, " + name + "!" * int(intensity)
demo = gr.Interface(
fn=greet,
description="# **HuggingFace Agents Course**",
inputs=["text", "slider"],
outputs=["text"],
flagging_mode="never",
)
demo.launch(debug=True)