Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
SFP/SpaceFaceDemo
Space-Face
/
SpaceFaceTemplate
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
92eca72
SpaceFaceTemplate
/
app.py
SFP
Update app.py
b188fbd
verified
4 months ago
raw
Copy download link
history
blame
Safe
170 Bytes
import
gradio
as
gr
import
main
def
update
(
name
):
return
f"liven"
with
gr.Blocks()
as
demo:
btn = gr.Button(
"keep alive"
)
btn.click(fn=update)
demo.launch()