Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
cbensimon
/
jeorgijergj
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
0c02257
jeorgijergj
/
app.py
cbensimon
HF Staff
Create app.py
0c02257
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
196 Bytes
import
gradio
as
gr
def
greet
(
request: gr.Request, name
):
print
(request.headers)
return
"Hello "
+ name +
"!!"
demo = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
demo.launch()