Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
ruanmelio
/
hello-world
like
0
Text Generation
Transformers
Model card
Files
Files and versions
Community
Train
Deploy
Use this model
ruanmelio
commited on
May 28, 2024
Commit
44ee5c3
·
verified
·
1 Parent(s):
e3478fd
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+10
-0
app.py
ADDED
Viewed
@@ -0,0 +1,10 @@
1
+
import gradio as gr
2
+
3
+
4
+
def greet(name):
5
+
return "Hello " + name
6
+
7
+
8
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
9
+
10
+
demo.launch()