Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ import torch
|
|
| 4 |
from diffusers import StableDiffusion3Pipeline
|
| 5 |
import spaces
|
| 6 |
import random
|
|
|
|
| 7 |
|
| 8 |
# Ensure GPU allocation in Hugging Face Spaces
|
| 9 |
@spaces.GPU(duration=65)
|
|
|
|
| 4 |
from diffusers import StableDiffusion3Pipeline
|
| 5 |
import spaces
|
| 6 |
import random
|
| 7 |
+
from peft import PeftModel, get_peft_model
|
| 8 |
|
| 9 |
# Ensure GPU allocation in Hugging Face Spaces
|
| 10 |
@spaces.GPU(duration=65)
|