piyushgrover commited on
Commit
7b7cec5
·
verified ·
1 Parent(s): 39293f0

Upload 3 files

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -0
  2. utils.py +0 -9
requirements.txt CHANGED
@@ -1,3 +1,4 @@
 
1
  transformers
2
  diffusers
3
  ftfy
 
1
+ gradio
2
  transformers
3
  diffusers
4
  ftfy
utils.py CHANGED
@@ -1,16 +1,7 @@
1
- from base64 import b64encode
2
-
3
- import numpy
4
  import torch
5
  from diffusers import AutoencoderKL, LMSDiscreteScheduler, UNet2DConditionModel
6
- from huggingface_hub import notebook_login
7
 
8
- # For video display:
9
- #from IPython.display import HTML
10
- from matplotlib import pyplot as plt
11
- from pathlib import Path
12
  from PIL import Image
13
- from torch import autocast
14
  from torchvision import transforms as tfms
15
  from tqdm.auto import tqdm
16
  from transformers import CLIPTextModel, CLIPTokenizer, logging
 
 
 
 
1
  import torch
2
  from diffusers import AutoencoderKL, LMSDiscreteScheduler, UNet2DConditionModel
 
3
 
 
 
 
 
4
  from PIL import Image
 
5
  from torchvision import transforms as tfms
6
  from tqdm.auto import tqdm
7
  from transformers import CLIPTextModel, CLIPTokenizer, logging