Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
965fecf
1
Parent(s):
9bf6989
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,13 @@
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
|
|
|
|
3 |
import spaces
|
4 |
import torch
|
|
|
5 |
from diffusers import FluxPriorReduxPipeline, FluxPipeline
|
6 |
from diffusers.utils import load_image
|
7 |
|
8 |
-
|
9 |
MAX_SEED = np.iinfo(np.int32).max
|
10 |
MAX_IMAGE_SIZE = 2048
|
11 |
|
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
+
import random
|
4 |
+
|
5 |
import spaces
|
6 |
import torch
|
7 |
+
|
8 |
from diffusers import FluxPriorReduxPipeline, FluxPipeline
|
9 |
from diffusers.utils import load_image
|
10 |
|
|
|
11 |
MAX_SEED = np.iinfo(np.int32).max
|
12 |
MAX_IMAGE_SIZE = 2048
|
13 |
|