acvss24 commited on
Commit
8f42f34
·
verified ·
1 Parent(s): ee176b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import gradio as gr
2
  import PIL.Image as Image
3
  import clip
@@ -29,6 +31,7 @@ TA = Union[T, ARRAY]
29
  D = torch.device
30
  CPU = torch.device('cpu')
31
 
 
32
  current_directory = os.getcwd()
33
  save_path = os.path.join(os.path.dirname(current_directory), "pretrained_models")
34
  os.makedirs(save_path, exist_ok=True)
 
1
+ pip install --upgrade pip
2
+
3
  import gradio as gr
4
  import PIL.Image as Image
5
  import clip
 
31
  D = torch.device
32
  CPU = torch.device('cpu')
33
 
34
+
35
  current_directory = os.getcwd()
36
  save_path = os.path.join(os.path.dirname(current_directory), "pretrained_models")
37
  os.makedirs(save_path, exist_ok=True)