Commit
·
4c606f3
1
Parent(s):
80111fe
replace path
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -72,7 +72,7 @@ class EndpointHandler():
|
|
| 72 |
return {"error": "Please provide a prompt"}
|
| 73 |
|
| 74 |
if(image_depth_map is None):
|
| 75 |
-
with open("
|
| 76 |
image = base64.b64encode(image_file.read()).decode('utf-8')
|
| 77 |
|
| 78 |
|
|
|
|
| 72 |
return {"error": "Please provide a prompt"}
|
| 73 |
|
| 74 |
if(image_depth_map is None):
|
| 75 |
+
with open("default.jpg", "rb") as image_file:
|
| 76 |
image = base64.b64encode(image_file.read()).decode('utf-8')
|
| 77 |
|
| 78 |
|