Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
CarlosMF
/
Test
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
333911f
Test
/
Test Gradio
CarlosMF
HF Staff
Create new file
333911f
almost 3 years ago
raw
Copy download link
history
blame
Safe
177 Bytes
import gradio
as
gr
def greet(name):
return
"Hello "
+ name +
"!"
demo = gr.
Interface(
fn
=
greet
,
inputs
=
"text"
,
outputs
=
"text"
)
if
__name__
==
"__main__"
:
demo.launch
()