lampongyuen's picture
Update app.py
1d4ad63
raw
history blame contribute delete
376 Bytes
# https://www.gradio.app/guides/quickstart
# https://www.gradio.app/guides/key-features
import gradio as gr
import time
def greet(name):
message_to_user="start here"
# gr.Info("message1")
# time.sleep(4)
# gr.Info("message2")
# gr.Warning("warning")
return "Hello " + name + "!"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()