Hugging Face
Search models, datasets, users...
Ctrl K
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
border1px
/
HelloWorld
Like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
border1px
commited on
Jan 12, 2024
Commit
bb215f5
·
verified
·
1 Parent(s):
dd22f5e
Create app.py
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
+
4
+
def greet(name):
5
+
6
+
return "Hello " + name + "!!"
7
+
8
+
9
+
10
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
11
+
12
+
iface.launch()