danhergir commited on
Commit
c51dff8
1 Parent(s): f7511b7

typo corrected

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -3,7 +3,7 @@ import torch
3
  from huggan.pytorch.lightweight_gan.lightweight_gan import LightweightGAN
4
 
5
  def load_model(model_name='ceyda/butterfly_cropped_uniq1K_512', model_version=None):
6
- gan = LightWeightGAN.from_pretrained(model_name, version=model_version)
7
  gan.eval()
8
  return gan
9
 
 
3
  from huggan.pytorch.lightweight_gan.lightweight_gan import LightweightGAN
4
 
5
  def load_model(model_name='ceyda/butterfly_cropped_uniq1K_512', model_version=None):
6
+ gan = LightweightGAN.from_pretrained(model_name, version=model_version)
7
  gan.eval()
8
  return gan
9