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
d58aa3a
my-space
/
app.py
rewebution
fix: type with gradio_interface
d58aa3a
over 1 year ago
raw
history
blame
No virus
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()