write logs for inference and loader to file

This commit is contained in:
Alex Bezdieniezhnykh
2025-06-14 16:08:32 +03:00
parent 8aa2f563a4
commit 6f297c4ebf
30 changed files with 218 additions and 140 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ cdef class CDNManager:
constants.log(f'uploaded {filename} ({len(file_bytes)} bytes) to the {bucket}')
return True
except Exception as e:
print(e)
constants.logerror(e)
return False
cdef download(self, str folder, str filename):
@@ -40,5 +40,5 @@ cdef class CDNManager:
constants.log(f'downloaded {filename} from the {folder}')
return True
except Exception as e:
print(e)
constants.logerror(e)
return False