Commit 52d9a34 1 parent f803fb8 commit 52d9a34 Copy full SHA for 52d9a34
File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ def mask_decode_to_image(encoding):
112
112
# response = requests.get('http://0.0.0.0:8080/sam/sam-model')
113
113
# print(f'\nsam/sam-model: {response.text}\n')
114
114
response = requests .get ('http://0.0.0.0:8080/sam/heartbeat' )
115
- print (f'\n sam/sam-model : { response .text } \n ' )
115
+ print (f'\n sam/heartbeat : { response .text } \n ' )
116
116
if "Success" in response .text :
117
117
# print(f'\nsam/heartbeat: {response.text}\n')
118
118
# image = encode_pil_to_base64(image)
@@ -137,6 +137,7 @@ def mask_decode_to_image(encoding):
137
137
else :
138
138
print (f'!!!! Error: SAM heartbeat lost!' )
139
139
except Exception as err :
140
+ print (f'!!!! Error: SAM exception { err } !!!!' )
140
141
pass
141
142
142
143
return image
You can’t perform that action at this time.
0 commit comments