Update component.py
Browse files- component.py +1 -0
component.py
CHANGED
@@ -175,6 +175,7 @@ class KeylockDecoderComponent(gr.components.Component):
|
|
175 |
def on_image_upload(image):
|
176 |
if image is None: return None, "Upload a KeyLock image to auto-fill credentials."
|
177 |
result_dict = self.server_logic.decode_payload(image)
|
|
|
178 |
formatted_message = self._format_message(result_dict)
|
179 |
return result_dict, formatted_message
|
180 |
|
|
|
175 |
def on_image_upload(image):
|
176 |
if image is None: return None, "Upload a KeyLock image to auto-fill credentials."
|
177 |
result_dict = self.server_logic.decode_payload(image)
|
178 |
+
print(result_dict)
|
179 |
formatted_message = self._format_message(result_dict)
|
180 |
return result_dict, formatted_message
|
181 |
|