IanNathaniel commited on
Commit
2302f94
1 Parent(s): d6abebc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -46,8 +46,9 @@ def lowlight(image):
46
  if not os.path.exists(image_path.replace('/'+image_path.split("/")[-1],'')):
47
  os.makedirs(image_path.replace('/'+image_path.split("/")[-1],''))
48
 
49
- grid = torchvision.utils.make_grid(enhanced_image)
50
- return grid
 
51
 
52
 
53
  title = "Compound Multi-branch Feature Fusion for Image Restoration (Deblur)"
 
46
  if not os.path.exists(image_path.replace('/'+image_path.split("/")[-1],'')):
47
  os.makedirs(image_path.replace('/'+image_path.split("/")[-1],''))
48
 
49
+ torchvision.utils.save_image(enhanced_image, f'01.jpg')
50
+
51
+ return '01.jpg'
52
 
53
 
54
  title = "Compound Multi-branch Feature Fusion for Image Restoration (Deblur)"