Spaces:
Sleeping
Sleeping
shitijnigam
commited on
Commit
•
38a2770
1
Parent(s):
e71e3c6
update app
Browse files
app.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def greet(name):
|
4 |
-
return "Hello " + name + "!!"
|
5 |
|
6 |
iface = gr.Interface(
|
7 |
-
fn=greet,
|
8 |
-
inputs="text",
|
9 |
-
outputs="text"
|
10 |
)
|
11 |
|
12 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def greet(name):
|
4 |
+
return "Hello " + name + "!! (welcome to testing)"
|
5 |
|
6 |
iface = gr.Interface(
|
7 |
+
fn = greet,
|
8 |
+
inputs = "text",
|
9 |
+
outputs = "text"
|
10 |
)
|
11 |
|
12 |
iface.launch()
|