schrum2 commited on
Commit
19248d9
·
verified ·
1 Parent(s): cc82bc6

import encoder from elsewhere

Browse files
Files changed (1) hide show
  1. text_diffusion_pipeline.py +2 -2
text_diffusion_pipeline.py CHANGED
@@ -5,13 +5,13 @@ import os
5
  from diffusers import DDPMPipeline, UNet2DConditionModel, DDPMScheduler
6
  import json
7
  # Running the main at the end of this requires messing with this import
8
- from text_model import TransformerModel
9
  import torch
10
  import torch.nn.functional as F
11
  from transformers import AutoTokenizer, AutoModel
12
  import common_settings as common_settings
13
  import sentence_transformers_helper as st_helper
14
- import text_model as text_model
15
  from general_training_helper import get_scene_from_embeddings
16
 
17
  class PipelineOutput(NamedTuple):
 
5
  from diffusers import DDPMPipeline, UNet2DConditionModel, DDPMScheduler
6
  import json
7
  # Running the main at the end of this requires messing with this import
8
+ from text_encoder.text_model import TransformerModel
9
  import torch
10
  import torch.nn.functional as F
11
  from transformers import AutoTokenizer, AutoModel
12
  import common_settings as common_settings
13
  import sentence_transformers_helper as st_helper
14
+ import text_encoder.text_model as text_model
15
  from general_training_helper import get_scene_from_embeddings
16
 
17
  class PipelineOutput(NamedTuple):