AUMREDKA commited on
Commit
f675a35
·
verified ·
1 Parent(s): 8987130

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def compute_metrics(pred, gt):
72
  return round(mae,4), round(psnr,2), round(ssim,4)
73
 
74
  # ---------------- Inference ----------------
75
- def infer(image: Image.Image, want_metrics: bool, sizing_mode: str, show_L: bool):
76
  if image is None:
77
  return None, None, None, None, None, "", ""
78
  if model is None:
 
72
  return round(mae,4), round(psnr,2), round(ssim,4)
73
 
74
  # ---------------- Inference ----------------
75
+ def infer(image: Image.Image, want_metrics: bool, show_L: bool):
76
  if image is None:
77
  return None, None, None, None, None, "", ""
78
  if model is None: