Segizu commited on
Commit
fb57428
·
1 Parent(s): 58b9b37

token: None

Browse files
Files changed (2) hide show
  1. __pycache__/utils.cpython-39.pyc +0 -0
  2. utils.py +1 -1
__pycache__/utils.cpython-39.pyc ADDED
Binary file (927 Bytes). View file
 
utils.py CHANGED
@@ -4,7 +4,7 @@ from huggan.pytorch.lightweight_gan.lightweight_gan import LightweightGAN
4
 
5
  ## Cargamos el modelo desde el Hub de Hugging Face
6
  def carga_modelo(model_name="ceyda/butterfly_cropped_uniq1K_512", model_version=None):
7
- gan = LightweightGAN.from_pretrained(model_name, version=model_version, use_auth_token=True
8
  gan.eval()
9
  return gan
10
 
 
4
 
5
  ## Cargamos el modelo desde el Hub de Hugging Face
6
  def carga_modelo(model_name="ceyda/butterfly_cropped_uniq1K_512", model_version=None):
7
+ gan = LightweightGAN.from_pretrained(model_name, version=model_version, use_auth_token=None)
8
  gan.eval()
9
  return gan
10