Spaces:
Runtime error
Runtime error
Commit ·
bc7bb23
1
Parent(s): 8101a25
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,6 @@ def load_model():
|
|
| 9 |
# Replace 'your_token_here' with your actual Hugging Face token
|
| 10 |
YOUR_TOKEN = ""
|
| 11 |
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=YOUR_TOKEN)
|
| 12 |
-
pipe = pipe.to("cuda")
|
| 13 |
return pipe
|
| 14 |
|
| 15 |
# Load the model
|
|
|
|
| 9 |
# Replace 'your_token_here' with your actual Hugging Face token
|
| 10 |
YOUR_TOKEN = ""
|
| 11 |
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=YOUR_TOKEN)
|
|
|
|
| 12 |
return pipe
|
| 13 |
|
| 14 |
# Load the model
|