Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
progh2
/
mytest
like
0
Sleeping
App
Files
Files
Community
dcc0284
mytest
/
app.py
root
Creating app.py
dcc0284
over 1 year ago
raw
Copy download link
history
blame
221 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()