Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Xylor
/
gradio_test_001
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
b87d52c
gradio_test_001
/
app.py
Xylor
Create app.py
b87d52c
verified
2 months ago
raw
Copy download link
history
blame
Safe
212 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()