Update Era_s20_updt.py
Browse files- Era_s20_updt.py +2 -2
Era_s20_updt.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
|
6 |
import torch
|
7 |
from diffusers import AutoencoderKL, LMSDiscreteScheduler, UNet2DConditionModel
|
8 |
-
from huggingface_hub import notebook_login
|
9 |
|
10 |
# For video display:
|
11 |
from IPython.display import HTML
|
@@ -25,7 +25,7 @@ import torch.nn.functional as F
|
|
25 |
|
26 |
torch.manual_seed(1)
|
27 |
|
28 |
-
if not (Path.home()/'.cache/huggingface'/'token').exists(): notebook_login()
|
29 |
|
30 |
# Supress some unnecessary warnings when loading the CLIPTextModel
|
31 |
logging.set_verbosity_error()
|
|
|
5 |
|
6 |
import torch
|
7 |
from diffusers import AutoencoderKL, LMSDiscreteScheduler, UNet2DConditionModel
|
8 |
+
#from huggingface_hub import notebook_login
|
9 |
|
10 |
# For video display:
|
11 |
from IPython.display import HTML
|
|
|
25 |
|
26 |
torch.manual_seed(1)
|
27 |
|
28 |
+
#if not (Path.home()/'.cache/huggingface'/'token').exists(): notebook_login()
|
29 |
|
30 |
# Supress some unnecessary warnings when loading the CLIPTextModel
|
31 |
logging.set_verbosity_error()
|