Spaces:
Runtime error
Runtime error
kintong3000
commited on
Commit
•
3ec36df
1
Parent(s):
679be19
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def greet(name):
|
4 |
+
return "Hello " + name + "!"
|
5 |
+
|
6 |
+
demo = gr.Interface(
|
7 |
+
fn=greet,
|
8 |
+
inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
|
9 |
+
outputs="text",
|
10 |
+
)
|
11 |
+
demo.launch()
|