guydffdsdsfd commited on
Commit
79787bf
·
verified ·
1 Parent(s): 5afe169

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +4 -8
start.sh CHANGED
@@ -1,13 +1,9 @@
1
  #!/bin/bash
2
 
3
- # Optional: Print GPU info for debugging
4
- nvidia-smi
5
 
6
- # Optional: Pre-download model weights to the container cache
7
- # to avoid timeout during the first user request
8
- # python -c "from diffusers import DiffusionPipeline; DiffusionPipeline.from_pretrained('runwayml/stable-diffusion-v1-5')"
9
 
10
- echo "Starting Stable Diffusion App..."
11
-
12
- # Start the Python application
13
  python app.py
 
1
  #!/bin/bash
2
 
3
+ # Ensure we are in the app directory
4
+ cd /home/user/app
5
 
6
+ echo "Starting the Stable Diffusion Space..."
 
 
7
 
8
+ # Launch the app (assumes your main file is named app.py)
 
 
9
  python app.py