Spaces:
Runtime error
Runtime error
| 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() |