chuxiaojie commited on
Commit
15def29
1 Parent(s): 576acdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ os.system("python3 setup.py develop --no_cuda_ext")
12
  def inference(image, task):
13
  if not os.path.exists('temp'):
14
  os.system('mkdir temp')
15
- img.save("temp/image.png", "PNG")
16
 
17
  if task == 'Denoising':
18
  os.system("python basicsr/demo.py -opt options/test/SIDD/NAFNet-width64.yml --input_path ./temp/image.png --output_path ./temp/image.png")
 
12
  def inference(image, task):
13
  if not os.path.exists('temp'):
14
  os.system('mkdir temp')
15
+ image.save("temp/image.png", "PNG")
16
 
17
  if task == 'Denoising':
18
  os.system("python basicsr/demo.py -opt options/test/SIDD/NAFNet-width64.yml --input_path ./temp/image.png --output_path ./temp/image.png")