Spaces:
Sleeping
Sleeping
File size: 376 Bytes
307e785 789f44d 307e785 0ab3689 307e785 b93e812 1d4ad63 f6ac25e 307e785 5f74823 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# 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()
|