cdnuts commited on
Commit
e3d7c19
1 Parent(s): 31fb66d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -4,6 +4,8 @@ from PIL import Image
4
  import torch
5
  from torchvision.transforms import transforms
6
  import gradio as gr
 
 
7
 
8
 
9
  model = torch.load('model.pth', map_location=torch.device('cpu'))
 
4
  import torch
5
  from torchvision.transforms import transforms
6
  import gradio as gr
7
+ from huggingface_hub import snapshot_download
8
+ snapshot_download(repo_id="Thouph/eva-vit-1b-224-8043")
9
 
10
 
11
  model = torch.load('model.pth', map_location=torch.device('cpu'))