Spaces:
Running
on
Zero
Running
on
Zero
AlekseyCalvin
commited on
Commit
•
bf79b8a
1
Parent(s):
2bcefbc
Update pipeline.py
Browse files- pipeline.py +2 -1
pipeline.py
CHANGED
@@ -548,7 +548,8 @@ class FluxWithCFGPipeline(DiffusionPipeline, FluxLoraLoaderMixin, FromSingleFile
|
|
548 |
return self._interrupt
|
549 |
|
550 |
@torch.no_grad()
|
551 |
-
|
|
|
552 |
self,
|
553 |
prompt: Union[str, List[str]] = None,
|
554 |
prompt_2: Optional[Union[str, List[str]]] = None,
|
|
|
548 |
return self._interrupt
|
549 |
|
550 |
@torch.no_grad()
|
551 |
+
@torch.inference_mode()
|
552 |
+
def generate_image(
|
553 |
self,
|
554 |
prompt: Union[str, List[str]] = None,
|
555 |
prompt_2: Optional[Union[str, List[str]]] = None,
|