Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,8 @@ from clipseg.models.clipseg import CLIPDensePredT
|
|
21 |
#api = HfApi()
|
22 |
|
23 |
from huggingface_hub import Repository
|
24 |
-
with Repository(local_dir="clipseg", clone_from="ThereforeGames/txt2mask/repositories/clipseg/")
|
|
|
25 |
# with open("file.txt", "w+") as f:
|
26 |
# f.write(json.dumps({"hey": 8}))
|
27 |
|
|
|
21 |
#api = HfApi()
|
22 |
|
23 |
from huggingface_hub import Repository
|
24 |
+
with Repository(local_dir="clipseg", clone_from="ThereforeGames/txt2mask/repositories/clipseg/")
|
25 |
+
#.commit(commit_message="clipseg uploaded...")
|
26 |
# with open("file.txt", "w+") as f:
|
27 |
# f.write(json.dumps({"hey": 8}))
|
28 |
|