javiergrandat commited on
Commit
7ac9edc
·
verified ·
1 Parent(s): 6bfc01d

delete use_auth_token -> token

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -5,7 +5,7 @@ from huggan.pytorch.lightweight_gan.lightweight_gan import LightweightGAN
5
 
6
  ## Cargamos el modelo desde el Hub de Hugging Face
7
  def carga_modelo(model_name="ceyda/butterfly_cropped_uniq1K_512", model_version=None):
8
- gan = LightweightGAN.from_pretrained(model_name, version=model_version,use_auth_token -> token)
9
  gan.eval()
10
  return gan
11
 
 
5
 
6
  ## Cargamos el modelo desde el Hub de Hugging Face
7
  def carga_modelo(model_name="ceyda/butterfly_cropped_uniq1K_512", model_version=None):
8
+ gan = LightweightGAN.from_pretrained(model_name, version=model_version)
9
  gan.eval()
10
  return gan
11