Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import base64
|
|
8 |
# Load the model once at the start
|
9 |
print("Loading the Stable Diffusion model...")
|
10 |
try:
|
11 |
-
model = AutoPipelineForText2Image.from_pretrained("
|
12 |
print("Model loaded successfully.")
|
13 |
except Exception as e:
|
14 |
print(f"Error loading model: {e}")
|
|
|
8 |
# Load the model once at the start
|
9 |
print("Loading the Stable Diffusion model...")
|
10 |
try:
|
11 |
+
model = AutoPipelineForText2Image.from_pretrained("stabilityai/sdxl-turbo")
|
12 |
print("Model loaded successfully.")
|
13 |
except Exception as e:
|
14 |
print(f"Error loading model: {e}")
|