my_glm_try_01 / app.py
sisconsavior's picture
Create app.py
cff691d
raw
history blame
194 Bytes
import gradio as gr
def greet(name, intensity):
return "Hello " * intensity + name + "!"
iface = gr.Interface(fn=greet, inputs=["text", "slider"], outputs="text")
iface.launch(share=True)