Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
PatilShruti
/
HelloApp
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
212d61a
HelloApp
/
app.py
PatilShruti
Create app.py
212d61a
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
200 Bytes
!pip install gradio
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!"
demo = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
if
__name__ ==
"__main__"
:
demo.launch()