JingyeChen commited on
Commit
1781379
1 Parent(s): 0a8222c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ m1_model = AutoModelForCausalLM.from_pretrained(
64
 
65
  #### import diffusion models
66
  text_encoder = CLIPTextModel.from_pretrained(
67
- 'JingyeChen22/textdiffuser2-full-ft', subfolder="text_encoder", ignore_mismatched_sizes=True
68
  ).cuda().half()
69
  tokenizer = CLIPTokenizer.from_pretrained(
70
  'runwayml/stable-diffusion-v1-5', subfolder="tokenizer"
 
64
 
65
  #### import diffusion models
66
  text_encoder = CLIPTextModel.from_pretrained(
67
+ 'JingyeChen22/textdiffuser2-full-ft', subfolder="text_encoder"
68
  ).cuda().half()
69
  tokenizer = CLIPTokenizer.from_pretrained(
70
  'runwayml/stable-diffusion-v1-5', subfolder="tokenizer"