Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Sang Vo committed Aug 22, 2021
1 parent 7b5d7de commit 2cfe69c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,15 @@ def enhance0():
folder_in="static/clients/input/"+format(client_count,'04d')+"/"
folder_out="static/clients/output/"+format(client_count,'04d')+"/"
#
os.makedirs(folder_in)
try:
os.makedirs(folder_in)
except:
pass
try:
os.makedirs(folder_out)
except:
pass
clear_folder(folder_in)
os.makedirs(folder_in)
clear_folder(folder_out)
begin=time.time()
im_pre=Im_preprocess()
Expand Down

0 comments on commit 2cfe69c

Please sign in to comment.