Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ logger = logging.getLogger(__name__)
|
|
11 |
|
12 |
app = Flask(__name__)
|
13 |
|
14 |
-
# Load the model once
|
15 |
try:
|
16 |
logger.info("Loading Stable Fast 3D pipeline...")
|
17 |
pipe = StableDiffusionPipeline.from_pretrained(
|
|
|
11 |
|
12 |
app = Flask(__name__)
|
13 |
|
14 |
+
# Load the model once startup (on CPU)
|
15 |
try:
|
16 |
logger.info("Loading Stable Fast 3D pipeline...")
|
17 |
pipe = StableDiffusionPipeline.from_pretrained(
|