Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,12 +23,9 @@ from torchvision import transforms
|
|
23 |
#from huggingface_hub import Repository
|
24 |
#with Repository(local_dir="clipseg", clone_from="ThereforeGames/txt2mask/repositories/clipseg/")
|
25 |
|
26 |
-
from huggingface_hub import
|
27 |
-
|
28 |
-
|
29 |
-
#from huggingface_hub import HfApi
|
30 |
-
#api = HfApi()
|
31 |
-
repo.upload_folder(
|
32 |
folder_path="clipseg",
|
33 |
path_in_repo="ThereforeGames/txt2mask/repositories/clipseg/",
|
34 |
repo_id="ThereforeGames/txt2mask",
|
|
|
23 |
#from huggingface_hub import Repository
|
24 |
#with Repository(local_dir="clipseg", clone_from="ThereforeGames/txt2mask/repositories/clipseg/")
|
25 |
|
26 |
+
from huggingface_hub import HfApi
|
27 |
+
api = HfApi()
|
28 |
+
api.upload_folder(
|
|
|
|
|
|
|
29 |
folder_path="clipseg",
|
30 |
path_in_repo="ThereforeGames/txt2mask/repositories/clipseg/",
|
31 |
repo_id="ThereforeGames/txt2mask",
|