Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ from diffusers import FluxPipeline, FluxTransformer2DModel
|
|
6 |
from PIL import Image
|
7 |
from diffusers.utils import export_to_gif
|
8 |
import uuid
|
|
|
9 |
|
10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
|
|
|
6 |
from PIL import Image
|
7 |
from diffusers.utils import export_to_gif
|
8 |
import uuid
|
9 |
+
import random
|
10 |
|
11 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
12 |
|