import gradio as gr import subprocess # Run startup script subprocess.run(["bash", "on_startup.sh"], check=True) def always_success(user_input): return "Success ✅" demo = gr.Interface( fn=always_success, inputs=gr.Textbox(label="Enter anything"), outputs=gr.Textbox(label="Result"), title="Always Success App", description="No matter what you type, the result is always 'Success'." ) demo.launch()