Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ from diffusers.utils import load_image
|
|
22 |
#import jax.numpy as jnp
|
23 |
import torch._dynamo
|
24 |
|
25 |
-
set_start_method("spawn", force=True)
|
26 |
torch._dynamo.config.suppress_errors = True
|
27 |
|
28 |
#pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16, revision="refs/pr/1", token=os.getenv("hf_token")).to(device)
|
|
|
22 |
#import jax.numpy as jnp
|
23 |
import torch._dynamo
|
24 |
|
25 |
+
#set_start_method("spawn", force=True)
|
26 |
torch._dynamo.config.suppress_errors = True
|
27 |
|
28 |
#pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16, revision="refs/pr/1", token=os.getenv("hf_token")).to(device)
|