#!/bin/bash # Ensure we are in the app directory cd /home/user/app echo "Starting the Stable Diffusion Space..." # Launch the app (assumes your main file is named app.py) python app.py