network01 commited on
Commit
ee94055
·
verified ·
1 Parent(s): 9108dad

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return f"Hello {name}, welcome to my first Space."
5
+
6
+ demo = gr.Interface(
7
+ fn=greet,
8
+ inputs="text",
9
+ outputs="text",
10
+ title="My First Hugging Face Space"
11
+ )
12
+
13
+ demo.launch()