Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -322,6 +322,8 @@ def start_training(
|
|
| 322 |
shell=True,
|
| 323 |
check=True
|
| 324 |
)
|
|
|
|
|
|
|
| 325 |
|
| 326 |
upload_folder(
|
| 327 |
folder_path=dataset_folder,
|
|
|
|
| 322 |
shell=True,
|
| 323 |
check=True
|
| 324 |
)
|
| 325 |
+
shutil.rmtree(os.path.join(toolkit_src, ".git"), ignore_errors=True)
|
| 326 |
+
shutil.rmtree(os.path.join(toolkit_src, ".gitmodules"), ignore_errors=True)
|
| 327 |
|
| 328 |
upload_folder(
|
| 329 |
folder_path=dataset_folder,
|