Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import torch
|
|
5 |
# Load the model
|
6 |
repo = "IDKiro/sdxs-512-0.9"
|
7 |
seed = 42
|
8 |
-
pipe = StableDiffusionPipeline.from_pretrained(
|
9 |
|
10 |
# Streamlit app
|
11 |
st.title("Image generation demo")
|
|
|
5 |
# Load the model
|
6 |
repo = "IDKiro/sdxs-512-0.9"
|
7 |
seed = 42
|
8 |
+
pipe = StableDiffusionPipeline.from_pretrained(repo, torch_dtype=torch.float32)
|
9 |
|
10 |
# Streamlit app
|
11 |
st.title("Image generation demo")
|