Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ 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", local_dir = "")
|
9 |
|
10 |
|
11 |
model = torch.load('model.pth', map_location=torch.device('cpu'))
|
|
|
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", local_dir = "./")
|
9 |
|
10 |
|
11 |
model = torch.load('model.pth', map_location=torch.device('cpu'))
|