Spaces:
Runtime error
Runtime error
update logging
Browse files- app_dialogue.py +1 -1
app_dialogue.py
CHANGED
|
@@ -306,7 +306,7 @@ def prompt_list_to_tgi_input(prompt_list: List[str]) -> str:
|
|
| 306 |
base64_img = pil_to_base64(elem_pil, resize=True)
|
| 307 |
result_string_input += f""
|
| 308 |
except Exception as e:
|
| 309 |
-
|
| 310 |
else:
|
| 311 |
result_string_input += elem
|
| 312 |
return result_string_input
|
|
|
|
| 306 |
base64_img = pil_to_base64(elem_pil, resize=True)
|
| 307 |
result_string_input += f""
|
| 308 |
except Exception as e:
|
| 309 |
+
logger.error(f"Image can't be loaded because of exception {e}")
|
| 310 |
else:
|
| 311 |
result_string_input += elem
|
| 312 |
return result_string_input
|