selfit-camera commited on
Commit
cdb8e81
·
1 Parent(s): 68810cb
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -567,12 +567,12 @@ def create_app():
567
  # Load the result image from local file
568
  try:
569
  result_image = Image.open(result_file_path)
570
- return img_path, result_image, "✅ 示例水印移除完成!这是一个预处理的演示结果。"
571
  except Exception as e:
572
  print(f"Failed to load sample result from {result_file_path}: {e}")
573
 
574
  # Fallback: just return the input image
575
- return img_path, None, "✅ 示例图片已加载。点击 '移除水印' 开始处理。"
576
 
577
  return handler
578
 
 
567
  # Load the result image from local file
568
  try:
569
  result_image = Image.open(result_file_path)
570
+ return img_path, result_image, "✅ sample watermark removal completed! This is a demo result."
571
  except Exception as e:
572
  print(f"Failed to load sample result from {result_file_path}: {e}")
573
 
574
  # Fallback: just return the input image
575
+ return img_path, None, "✅ sample image loaded. Click 'Remove Watermark' to process."
576
 
577
  return handler
578