Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
algomuffin
/
space-demo
like
0
No application file
App
Files
Files
Community
2
Create app.py
#1
by
sumit12
- opened
Jun 18, 2022
base:
refs/heads/main
←
from:
refs/pr/1
Discussion
Files changed
+8
-0
Files changed (1)
hide
show
app.py
+8
-0
app.py
ADDED
Viewed
@@ -0,0 +1,8 @@
1
+
import gradio as gr
2
+
3
+
def greet(name):
4
+
return "I love you " + name + "!!"
5
+
6
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+
8
+
demo.launch(share=True)