Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
DesignAndProd
/
my-space
like
0
Runtime error
App
Files
Files
Community
fb7b0b1
my-space
/
app.py
rewebution
Creating app.py
fb7b0b1
over 1 year ago
raw
Copy download link
history
blame
Safe
229 Bytes
import
gradio
def
my_inference_function
(
name
):
return
"Hello "
+ name
gradio_interface = gradio.Interface(
fn=my_inference_function,
inputs=
"text"
,
outputs=
"text"
,
)
gradio.Interface.launch()