neverix commited on
Commit
ac327c4
1 Parent(s): b570462
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -40,6 +40,9 @@ upload_img2 = (st.file_uploader("pose images", "png", accept_multiple_files=True
40
  # os.system("sh download.sh")
41
 
42
  if st.button("RUN!"):
 
 
 
43
  if upload_img is not None:
44
  os.makedirs("character_sheet", exist_ok=True)
45
  for i in range(len(upload_img)):
 
40
  # os.system("sh download.sh")
41
 
42
  if st.button("RUN!"):
43
+ os.system("rm character_sheet/*")
44
+ os.system("rm result/*")
45
+ os.system("rm poses/*")
46
  if upload_img is not None:
47
  os.makedirs("character_sheet", exist_ok=True)
48
  for i in range(len(upload_img)):