Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
HaoFeng2019
/
DocTr
like
13
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
ae3b630
DocTr
/
app.py
HaoFeng2019
Add application file
f4ce0ac
almost 2 years ago
raw
Copy download link
history
blame
Safe
150 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()