Politrees commited on
Commit
97d6fae
1 Parent(s): e39b711

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -2085,4 +2085,13 @@ with gr.Blocks(theme=gr.themes.Base(), title='Mangio-RVC-Web 💻') as app:
2085
  )
2086
 
2087
  app.queue(concurrency_count=511, max_size=1022).launch(share=False, quiet=True)
 
 
 
 
 
 
 
 
 
2088
  #endregion
 
2085
  )
2086
 
2087
  app.queue(concurrency_count=511, max_size=1022).launch(share=False, quiet=True)
2088
+
2089
+ import os, shutil
2090
+ cur_dir = os.getcwd()
2091
+ move_dir = os.getcwd() + '\\backup'
2092
+ notmovepls = ['\\audio*.*']
2093
+ cur_files = [i for i in os.listdir(cur_dir) if i not in notmovepls]
2094
+ def in_folder():
2095
+ for file in cur_files:
2096
+ shutil.move(file, move_dir)
2097
  #endregion