ToletiSri commited on
Commit
3283195
1 Parent(s): b5c3a34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -4,10 +4,8 @@ from base64 import b64encode
4
  import numpy
5
  import torch
6
  from diffusers import AutoencoderKL, LMSDiscreteScheduler, UNet2DConditionModel, StableDiffusionPipeline
7
- from huggingface_hub import notebook_login
8
 
9
  # For video display:
10
- from IPython.display import HTML
11
  from matplotlib import pyplot as plt
12
  from pathlib import Path
13
  from PIL import Image
@@ -18,7 +16,6 @@ from transformers import CLIPTextModel, CLIPTokenizer, logging
18
  import os
19
 
20
  torch.manual_seed(1)
21
- if not (Path.home()/'.cache/huggingface'/'token').exists(): notebook_login()
22
 
23
  # Supress some unnecessary warnings when loading the CLIPTextModel
24
  logging.set_verbosity_error()
 
4
  import numpy
5
  import torch
6
  from diffusers import AutoencoderKL, LMSDiscreteScheduler, UNet2DConditionModel, StableDiffusionPipeline
 
7
 
8
  # For video display:
 
9
  from matplotlib import pyplot as plt
10
  from pathlib import Path
11
  from PIL import Image
 
16
  import os
17
 
18
  torch.manual_seed(1)
 
19
 
20
  # Supress some unnecessary warnings when loading the CLIPTextModel
21
  logging.set_verbosity_error()