Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
51270f5
1
Parent(s):
b41fb97
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
-
|
|
|
4 |
from diffusers import FluxPriorReduxPipeline, FluxPipeline
|
5 |
from diffusers.utils import load_image
|
6 |
-
|
7 |
|
8 |
MAX_SEED = np.iinfo(np.int32).max
|
9 |
MAX_IMAGE_SIZE = 2048
|
|
|
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
|