AlekseyCalvin commited on
Commit
0460266
1 Parent(s): 0d1e2fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -10,6 +10,7 @@ import time
10
  from huggingface_hub import hf_hub_download
11
  from diffusers import FluxTransformer2DModel, FluxPipeline
12
  import safetensors.torch
 
13
  import gc
14
 
15
  cache_path = path.join(path.dirname(path.abspath(__file__)), "models")
 
10
  from huggingface_hub import hf_hub_download
11
  from diffusers import FluxTransformer2DModel, FluxPipeline
12
  import safetensors.torch
13
+ from safetensors.torch import load_file
14
  import gc
15
 
16
  cache_path = path.join(path.dirname(path.abspath(__file__)), "models")