Spaces:
Runtime error
Runtime error
Commit
•
8c6f026
1
Parent(s):
4d0a903
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,10 @@ import numpy as np
|
|
4 |
import spaces
|
5 |
import torch
|
6 |
import spaces
|
|
|
7 |
|
8 |
from diffusers import FluxControlPipeline, FluxTransformer2DModel
|
9 |
from image_gen_aux import DepthPreprocessor
|
10 |
-
from diffusers.utils import load_image
|
11 |
|
12 |
MAX_SEED = np.iinfo(np.int32).max
|
13 |
MAX_IMAGE_SIZE = 2048
|
|
|
4 |
import spaces
|
5 |
import torch
|
6 |
import spaces
|
7 |
+
import random
|
8 |
|
9 |
from diffusers import FluxControlPipeline, FluxTransformer2DModel
|
10 |
from image_gen_aux import DepthPreprocessor
|
|
|
11 |
|
12 |
MAX_SEED = np.iinfo(np.int32).max
|
13 |
MAX_IMAGE_SIZE = 2048
|