Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
SFP
/
SpaceFaceDemo
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
92eca72
SpaceFaceDemo
/
app.py
SFP
Update app.py
b188fbd
verified
5 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()