Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
JamesAIHuggingFace
/
sample
like
0
Runtime error
App
Files
Files
Community
0f22d0b
sample
/
app.py
JamesAIHuggingFace
Create app.py
0f22d0b
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
147 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
demo = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
demo.launch()