soiz1 commited on
Commit
dcd87aa
·
verified ·
1 Parent(s): 66d414f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ def restore_image():
91
  file.save(input_path)
92
 
93
  # 画像処理
94
- extension = os.path.splitext(os.path.basename(str(input_path))[1]
95
  img = cv2.imread(input_path, cv2.IMREAD_UNCHANGED)
96
 
97
  if len(img.shape) == 3 and img.shape[2] == 4:
 
91
  file.save(input_path)
92
 
93
  # 画像処理
94
+ extension = os.path.splitext(os.path.basename(str(input_path)))[1]
95
  img = cv2.imread(input_path, cv2.IMREAD_UNCHANGED)
96
 
97
  if len(img.shape) == 3 and img.shape[2] == 4: