Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def tensor_to_pil_image(in_image):
|
|
| 16 |
numpy_array = tensor.permute(1, 2, 0).byte().numpy()
|
| 17 |
pil_image = Image.fromarray(numpy_array)
|
| 18 |
return pil_image
|
| 19 |
-
from src.flux.xflux_pipeline import XFluxSampler
|
| 20 |
args = OmegaConf.load("inference_configs/inference.yaml")
|
| 21 |
# is_schnell = args.model_name == "flux-schnell"
|
| 22 |
# sampler = None
|
|
|
|
| 16 |
numpy_array = tensor.permute(1, 2, 0).byte().numpy()
|
| 17 |
pil_image = Image.fromarray(numpy_array)
|
| 18 |
return pil_image
|
| 19 |
+
# from src.flux.xflux_pipeline import XFluxSampler
|
| 20 |
args = OmegaConf.load("inference_configs/inference.yaml")
|
| 21 |
# is_schnell = args.model_name == "flux-schnell"
|
| 22 |
# sampler = None
|