Yaron Koresh commited on
Commit
d98b74f
·
verified ·
1 Parent(s): 560ff39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)