Spaces:
Sleeping
Sleeping
EliseoBaquero
commited on
Commit
•
dbc26f6
1
Parent(s):
c1faec7
Update utils.py
Browse files
utils.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import numpy as np
|
2 |
import torch
|
3 |
-
from huggan.pytorch.lightweight_gan.
|
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)
|
|
|
1 |
import numpy as np
|
2 |
import torch
|
3 |
+
from huggan.pytorch.lightweight_gan.ligthweight_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)
|