Spaces:
Build error
Build error
mrfakename
commited on
Commit
•
29c5766
1
Parent(s):
636e13f
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import subprocess, os
|
2 |
import shutil
|
|
|
3 |
|
4 |
def move_files_and_subdirs(source_dir):
|
5 |
# List all files and directories in the source directory
|
@@ -21,7 +22,7 @@ def move_files_and_subdirs(source_dir):
|
|
21 |
|
22 |
|
23 |
subprocess.run(['git', 'clone', 'https://github.com/metavoiceio/metavoice-src', './mvsrc'])
|
24 |
-
|
25 |
move_files_and_subdirs("mvsrc")
|
26 |
|
27 |
print(subprocess.run(['ls']))
|
|
|
1 |
import subprocess, os
|
2 |
import shutil
|
3 |
+
import time
|
4 |
|
5 |
def move_files_and_subdirs(source_dir):
|
6 |
# List all files and directories in the source directory
|
|
|
22 |
|
23 |
|
24 |
subprocess.run(['git', 'clone', 'https://github.com/metavoiceio/metavoice-src', './mvsrc'])
|
25 |
+
time.sleep(3)
|
26 |
move_files_and_subdirs("mvsrc")
|
27 |
|
28 |
print(subprocess.run(['ls']))
|