AlexZou commited on
Commit
6f95d65
·
1 Parent(s): 1951449

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -6,9 +6,6 @@ def inference(image, task):
6
  os.system('mkdir tmp')
7
  image.save("tmp/lq_image.png", "PNG")
8
 
9
- if not os.path.exists('results'):
10
- os.system('mkdir results')
11
-
12
  if task == 'Dehazing':
13
  os.system("python Dehazing.py --test_path ./tmp/lq_image.png --save_path ./results/ --pk_path model_zoo/Haze4k.tjm")
14
 
 
6
  os.system('mkdir tmp')
7
  image.save("tmp/lq_image.png", "PNG")
8
 
 
 
 
9
  if task == 'Dehazing':
10
  os.system("python Dehazing.py --test_path ./tmp/lq_image.png --save_path ./results/ --pk_path model_zoo/Haze4k.tjm")
11