Spaces:
Running
Running
Commit
·
cdb8e81
1
Parent(s):
68810cb
init
Browse files
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 |
|