Spaces:
Running
Running
AbhinavKrishnan36
commited on
Commit
•
43c1315
1
Parent(s):
e30747f
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ hf_api_key = os.getenv("PRODIGY_GA_02")
|
|
10 |
|
11 |
# Load model with authentication token
|
12 |
model_id = "stabilityai/stable-diffusion-3.5-medium"
|
13 |
-
pipe =
|
14 |
|
15 |
pipe.to("cuda")# If you have GPU access; otherwise, use "cpu"
|
16 |
|
|
|
10 |
|
11 |
# Load model with authentication token
|
12 |
model_id = "stabilityai/stable-diffusion-3.5-medium"
|
13 |
+
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-medium")
|
14 |
|
15 |
pipe.to("cuda")# If you have GPU access; otherwise, use "cpu"
|
16 |
|