Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
shitijnigam
/
testing
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
shitijnigam
commited on
Apr 3, 2024
Commit
e71e3c6
·
1 Parent(s):
e04c173
add application file
Browse files
Files changed (1)
hide
show
app.py
+12
-0
app.py
ADDED
Viewed
@@ -0,0 +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()