Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
tunglinwu
/
cat_or_dog_fastai_sample
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
8efb618
cat_or_dog_fastai_sample
/
app.py
tunglinwu
Create app.py
8efb618
10 months ago
raw
Copy download link
history
blame
Safe
150 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()