Spaces:
Runtime error
Runtime error
Download app.py from SFP/SpaceFaceDemo: direct link, hf CLI and curl.
- Browser
- Download file 170 Bytes
-
https://huggingface.co/spaces/SFP/SpaceFaceDemo/resolve/main/app.py
- Command line
-
hf download hf://spaces/SFP/SpaceFaceDemo/app.py
-
curl -L -o app.py https://huggingface.co/spaces/SFP/SpaceFaceDemo/resolve/main/app.py
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() |