Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Space-Face/SpaceFaceTemplate
Space-Face
/
ScratchGPT
like
0
Running
App
Files
Files
Community
92eca72
ScratchGPT
/
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()