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
Fetching metadata from the HF Docker repository...
504afaa
ScratchGPT
/
app.py
SFP
Create app.py
e61bae3
verified
5 months ago
raw
Copy download link
history
blame
Safe
183 Bytes
import
gradio
as
gr
def
update
(
name
):
return
f"liven"
with
gr.Blocks()
as
demo:
btn = gr.Button(
"keep alive"
)
btn.click(fn=update, inputs=inp, outputs=out)
demo.launch()