Update ff1.py
Browse files
ff1.py
CHANGED
|
@@ -174,6 +174,7 @@ def create_space(type,key = "", value = ""):
|
|
| 174 |
os.system(f'git config --global user.email "{HF_EMAIL2}"')
|
| 175 |
os.system(f'git config --global user.name "{HF_USER2}"')
|
| 176 |
os.chdir(f'/data/{tmp_name}')
|
|
|
|
| 177 |
os.system("wget -O Dockerfile https://huggingface.co/datasets/Qilan2/ff/raw/main/Dockerfile")
|
| 178 |
os.system('git add .')
|
| 179 |
os.system('git commit -m "0"')
|
|
|
|
| 174 |
os.system(f'git config --global user.email "{HF_EMAIL2}"')
|
| 175 |
os.system(f'git config --global user.name "{HF_USER2}"')
|
| 176 |
os.chdir(f'/data/{tmp_name}')
|
| 177 |
+
os.system('rm -rf Dockerfile')
|
| 178 |
os.system("wget -O Dockerfile https://huggingface.co/datasets/Qilan2/ff/raw/main/Dockerfile")
|
| 179 |
os.system('git add .')
|
| 180 |
os.system('git commit -m "0"')
|