Spaces:
Sleeping
Sleeping
Commit
·
93b660b
1
Parent(s):
77576b5
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
def greet(name):
|
3 |
+
return "Hello " + name + "!"
|
4 |
+
|
5 |
+
demo = gr.Interface(
|
6 |
+
fn=greet,
|
7 |
+
allow_flagging="never",
|
8 |
+
inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
|
9 |
+
outputs="text",
|
10 |
+
)
|
11 |
+
demo.launch()
|