Spaces:
Runtime error
Runtime error
Commit
•
2302f94
1
Parent(s):
d6abebc
Update app.py
Browse files
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 |
-
|
50 |
-
|
|
|
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)"
|