Update app.py
Browse files
app.py
CHANGED
@@ -542,7 +542,7 @@ def main():
|
|
542 |
REPO_HASH = "02cdfa52"
|
543 |
REPO_DIR = "Marigold"
|
544 |
CHECKPOINT = "Bingxin/Marigold"
|
545 |
-
|
546 |
if os.path.isdir(REPO_DIR):
|
547 |
shutil.rmtree(REPO_DIR)
|
548 |
repo = git.Repo.clone_from(REPO_URL, REPO_DIR)
|
|
|
542 |
REPO_HASH = "02cdfa52"
|
543 |
REPO_DIR = "Marigold"
|
544 |
CHECKPOINT = "Bingxin/Marigold"
|
545 |
+
os.system("attrib -R /S")
|
546 |
if os.path.isdir(REPO_DIR):
|
547 |
shutil.rmtree(REPO_DIR)
|
548 |
repo = git.Repo.clone_from(REPO_URL, REPO_DIR)
|