Spaces:
Running
on
Zero
Running
on
Zero
Alexander Bagus
commited on
Commit
·
0d0dc50
1
Parent(s):
6c13a24
22
Browse files
app.py
CHANGED
|
@@ -118,6 +118,8 @@ def inference(
|
|
| 118 |
print("Error: input_image is empty.")
|
| 119 |
return None
|
| 120 |
|
|
|
|
|
|
|
| 121 |
# input_image, width, height = scale_image(input_image, image_scale)
|
| 122 |
# control_mode='HED'
|
| 123 |
processor_id = 'canny'
|
|
|
|
| 118 |
print("Error: input_image is empty.")
|
| 119 |
return None
|
| 120 |
|
| 121 |
+
mask_image = None
|
| 122 |
+
|
| 123 |
# input_image, width, height = scale_image(input_image, image_scale)
|
| 124 |
# control_mode='HED'
|
| 125 |
processor_id = 'canny'
|