Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
awaisrwp
/
learning_gradio
like
0
Sleeping
App
Files
Files
Community
f5a3ca9
learning_gradio
/
demo.py
awaisrwp
Upload folder using huggingface_hub
f5a3ca9
about 1 year ago
raw
Copy download link
history
blame
Safe
154 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!"
demo = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
demo.launch()