Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jxtan
/
zero_gpu
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
zero_gpu
/
app.py
jxtan
Create app.py
a621251
verified
about 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
175 Bytes
import
spaces
import
gradio
as
gr
@spaces.GPU
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()