wangpangintsig commited on
Commit
071c88a
·
verified ·
1 Parent(s): c219d70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from other_impls import SD3Tokenizer, SDClipModel, SDXLClipG, T5XXLModel
2
  from safetensors import safe_open
3
  from huggingface_hub import hf_hub_download
4
-
5
 
6
  def load_into(ckpt, model, prefix, device, dtype=None, remap=None):
7
  """Just a debugging-friendly hack to apply the weights in a safetensors file to the pytorch module."""
 
1
  from other_impls import SD3Tokenizer, SDClipModel, SDXLClipG, T5XXLModel
2
  from safetensors import safe_open
3
  from huggingface_hub import hf_hub_download
4
+ import torch
5
 
6
  def load_into(ckpt, model, prefix, device, dtype=None, remap=None):
7
  """Just a debugging-friendly hack to apply the weights in a safetensors file to the pytorch module."""