Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
rebase
/
hello_python
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
9c882b1
hello_python
/
app.py
rebase
Update app.py
9c882b1
about 2 years ago
raw
Copy download link
history
blame
Safe
171 Bytes
import
gradio
as
gr
def
greet
(
arg1
):
return
f"
{arg1.capitalize()}
Hello "
+ arg1 +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()