Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
quelmap
/
apitest
like
0
Sleeping
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
13a1d55
apitest
/
app.py
quelmap
Create app.py
b2a1014
over 1 year 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()