ksort commited on
Commit
7271da2
·
1 Parent(s): afdb110

Add new model

Browse files
Files changed (1) hide show
  1. model/models/huggingface_models.py +3 -4
model/models/huggingface_models.py CHANGED
@@ -28,10 +28,9 @@ def load_huggingface_model(model_name, model_type):
28
 
29
 
30
  if __name__ == "__main__":
31
- # for name in ["SD-turbo", "SDXL-turbo"]: #"SD-turbo", "SDXL-turbo"
32
- # pipe = load_huggingface_model(name, "text2image")
33
 
34
  # for name in ["IF-I-XL-v1.0"]:
35
  # pipe = load_huggingface_model(name, 'text2image')
36
- # pipe = DiffusionPipeline.from_pretrained("DeepFloyd/IF-I-XL-v1.0", variant="fp16", torch_dtype=torch.float16)
37
-
 
28
 
29
 
30
  if __name__ == "__main__":
31
+ for name in ["SD-turbo", "SDXL-turbo"]: #"SD-turbo", "SDXL-turbo"
32
+ pipe = load_huggingface_model(name, "text2image")
33
 
34
  # for name in ["IF-I-XL-v1.0"]:
35
  # pipe = load_huggingface_model(name, 'text2image')
36
+ # pipe = DiffusionPipeline.from_pretrained("DeepFloyd/IF-I-XL-v1.0", variant="fp16", torch_dtype=torch.float16)