Spaces:
Running
on
Zero
Running
on
Zero
MohamedRashad
commited on
Commit
•
c7c2e8e
1
Parent(s):
cf7dfba
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
import spaces
|
6 |
from live_preview_helpers import flux_pipe_call_that_returns_an_iterable_of_images
|
7 |
|
8 |
-
pipe_prior_redux = FluxPriorReduxPipeline.from_pretrained("black-forest-labs/FLUX.1-Redux-dev",
|
9 |
pipe = FluxPipeline.from_pretrained(
|
10 |
"black-forest-labs/FLUX.1-dev" ,
|
11 |
text_encoder=None,
|
|
|
5 |
import spaces
|
6 |
from live_preview_helpers import flux_pipe_call_that_returns_an_iterable_of_images
|
7 |
|
8 |
+
pipe_prior_redux = FluxPriorReduxPipeline.from_pretrained("black-forest-labs/FLUX.1-Redux-dev", torch_dtype=torch.bfloat16).to("cuda")
|
9 |
pipe = FluxPipeline.from_pretrained(
|
10 |
"black-forest-labs/FLUX.1-dev" ,
|
11 |
text_encoder=None,
|