Update app.py
Browse files
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'))
|