Spaces:
Build error
Build error
freemt
commited on
Commit
·
03be791
1
Parent(s):
37fb9cf
Debug
Browse files- ubee/__main__.py +5 -0
ubee/__main__.py
CHANGED
|
@@ -22,6 +22,8 @@ from logzero import logger
|
|
| 22 |
# from ubee.ubee import ubee
|
| 23 |
|
| 24 |
# logzero.loglevel(10)
|
|
|
|
|
|
|
| 25 |
ic_install()
|
| 26 |
ic.configureOutput(
|
| 27 |
includeContext=True,
|
|
@@ -30,6 +32,8 @@ ic.configureOutput(
|
|
| 30 |
ic.enable()
|
| 31 |
# ic.disenable() # to turn off
|
| 32 |
|
|
|
|
|
|
|
| 33 |
ic("Testing...")
|
| 34 |
from model_pool import __version__, fetch_check_aux
|
| 35 |
print("model-pool version", __version__)
|
|
@@ -284,6 +288,7 @@ def main():
|
|
| 284 |
|
| 285 |
|
| 286 |
if __name__ == "__main__":
|
|
|
|
| 287 |
main()
|
| 288 |
|
| 289 |
_ = """
|
|
|
|
| 22 |
# from ubee.ubee import ubee
|
| 23 |
|
| 24 |
# logzero.loglevel(10)
|
| 25 |
+
logger.debug(" debug on ")
|
| 26 |
+
|
| 27 |
ic_install()
|
| 28 |
ic.configureOutput(
|
| 29 |
includeContext=True,
|
|
|
|
| 32 |
ic.enable()
|
| 33 |
# ic.disenable() # to turn off
|
| 34 |
|
| 35 |
+
ic(" ic.enabled ")
|
| 36 |
+
|
| 37 |
ic("Testing...")
|
| 38 |
from model_pool import __version__, fetch_check_aux
|
| 39 |
print("model-pool version", __version__)
|
|
|
|
| 288 |
|
| 289 |
|
| 290 |
if __name__ == "__main__":
|
| 291 |
+
logger.info(" Start main()")
|
| 292 |
main()
|
| 293 |
|
| 294 |
_ = """
|