Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,16 @@
|
|
1 |
import os
|
2 |
-
import
|
3 |
|
4 |
# Retrieve the token from the environment variables
|
5 |
token = os.environ.get("token")
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
13 |
|
14 |
import torch
|
15 |
from torch.utils.data import Dataset, DataLoader
|
|
|
1 |
import os
|
2 |
+
from huggingface_hub import Repository
|
3 |
|
4 |
# Retrieve the token from the environment variables
|
5 |
token = os.environ.get("token")
|
6 |
|
7 |
+
repo = Repository(
|
8 |
+
local_dir="SVD",
|
9 |
+
repo_type="model",
|
10 |
+
clone_from="robocan/GeoG_City",
|
11 |
+
token=token
|
12 |
+
)
|
13 |
+
repo.git_pull()
|
14 |
|
15 |
import torch
|
16 |
from torch.utils.data import Dataset, DataLoader
|