jdgalvan commited on
Commit
a9593e8
1 Parent(s): e7e4c4c

fix import

Browse files
Files changed (1) hide show
  1. utils.py +3 -1
utils.py CHANGED
@@ -1,9 +1,11 @@
1
  import numpy as np
2
  import torch
3
- from huggan.pytorch.lightweight_gan import LightweightGAN
 
4
 
5
  def carga_modelo(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
 
 
1
  import numpy as np
2
  import torch
3
+ from huggan.pytorch.lightweight_gan.lightweight_gan import LightweightGAN
4
+
5
 
6
  def carga_modelo(model_name="ceyda/butterfly_cropped_uniq1K_512", model_version=None):
7
  gan=LightweightGAN.from_pretrained(model_name, version=model_version)
8
+
9
  gan.eval()
10
  return gan
11