Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,9 @@ from diffusers import DiffusionPipeline
|
|
2 |
import torch
|
3 |
import streamlit as st
|
4 |
|
5 |
-
|
6 |
-
|
|
|
7 |
|
8 |
@st.cache_resource
|
9 |
def load_pipeline():
|
|
|
2 |
import torch
|
3 |
import streamlit as st
|
4 |
|
5 |
+
# Model paths for Hugging Face
|
6 |
+
sdxl_base_model_path = "stabilityai/stable-diffusion-xl-base-1.0"
|
7 |
+
sdxl_refiner_model_path = "stabilityai/stable-diffusion-xl-refiner-1.0"
|
8 |
|
9 |
@st.cache_resource
|
10 |
def load_pipeline():
|