ChatBot / Demo 1.py
bumk766fall2023's picture
git config
b965150
Raw History Blame Contribute Delete
282 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()
demo.launch(share=True) # Share your demo with just 1 extra parameter