Spaces:
Sleeping
Sleeping
Commit
·
789f44d
1
Parent(s):
64fed43
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
# https://www.gradio.app/guides/quickstart
|
|
|
2 |
import gradio as gr
|
3 |
def greet(name):
|
4 |
message_to_user="start here"
|
5 |
# gr.Info(message_to_user)
|
6 |
-
gr.
|
7 |
return "Hello " + name + "!"
|
8 |
|
9 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
1 |
# https://www.gradio.app/guides/quickstart
|
2 |
+
# https://www.gradio.app/guides/key-features
|
3 |
import gradio as gr
|
4 |
def greet(name):
|
5 |
message_to_user="start here"
|
6 |
# gr.Info(message_to_user)
|
7 |
+
gr.Warning("warning")
|
8 |
return "Hello " + name + "!"
|
9 |
|
10 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|