thak123 commited on
Commit
c22438d
1 Parent(s): 2fb7e31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -3,16 +3,18 @@ import os
3
  os.environ["WANDB_DISABLED"] = "true"
4
 
5
  import numpy as np
6
-
7
  from PIL import Image
 
8
  import gradio as gr
9
  import torch
10
  import torch.nn as nn
11
- from transformers import CLIPModel, AutoModel
 
12
  from torchvision.transforms import CenterCrop, ConvertImageDtype, Normalize, Resize
13
  from torchvision.transforms.functional import InterpolationMode
14
  from torchvision import transforms
15
 
 
16
  from huggingface_hub import hf_hub_download
17
  from safetensors.torch import load_model
18
 
 
3
  os.environ["WANDB_DISABLED"] = "true"
4
 
5
  import numpy as np
 
6
  from PIL import Image
7
+
8
  import gradio as gr
9
  import torch
10
  import torch.nn as nn
11
+
12
+ import torchvision
13
  from torchvision.transforms import CenterCrop, ConvertImageDtype, Normalize, Resize
14
  from torchvision.transforms.functional import InterpolationMode
15
  from torchvision import transforms
16
 
17
+ from transformers import CLIPModel, AutoModel
18
  from huggingface_hub import hf_hub_download
19
  from safetensors.torch import load_model
20