Spaces:
Build error
Build error
freemt
commited on
Commit
·
4be3c52
1
Parent(s):
92cb1c3
Debug
Browse files- README.md +2 -2
- ubee/__main__.py +8 -3
README.md
CHANGED
@@ -3,8 +3,8 @@ title: Ultimatumbee
|
|
3 |
emoji: 🏢
|
4 |
colorFrom: blue
|
5 |
colorTo: indigo
|
6 |
-
sdk: gradio
|
7 |
-
app_file: app.py
|
8 |
pinned: false
|
9 |
license: mit
|
10 |
---
|
|
|
3 |
emoji: 🏢
|
4 |
colorFrom: blue
|
5 |
colorTo: indigo
|
6 |
+
sdk: gradio 3.0
|
7 |
+
app_file: app.py
|
8 |
pinned: false
|
9 |
license: mit
|
10 |
---
|
ubee/__main__.py
CHANGED
@@ -18,8 +18,8 @@ from logzero import logger
|
|
18 |
# for embeddable python
|
19 |
# if "." not in sys.path: sys.path.insert(0, ".")
|
20 |
|
21 |
-
from ubee import __version__
|
22 |
-
from ubee.ubee import ubee
|
23 |
|
24 |
# logzero.loglevel(10)
|
25 |
ic_install()
|
@@ -31,9 +31,14 @@ ic.enable()
|
|
31 |
# ic.disenable() # to turn off
|
32 |
|
33 |
ic("Testing...")
|
34 |
-
from model_pool import __version__
|
35 |
print("model-pool version", __version__)
|
36 |
|
|
|
|
|
|
|
|
|
|
|
37 |
raise SystemExit("Exit by intention")
|
38 |
|
39 |
|
|
|
18 |
# for embeddable python
|
19 |
# if "." not in sys.path: sys.path.insert(0, ".")
|
20 |
|
21 |
+
# from ubee import __version__
|
22 |
+
# from ubee.ubee import ubee
|
23 |
|
24 |
# logzero.loglevel(10)
|
25 |
ic_install()
|
|
|
31 |
# ic.disenable() # to turn off
|
32 |
|
33 |
ic("Testing...")
|
34 |
+
from model_pool import __version__, check_fetch_aux
|
35 |
print("model-pool version", __version__)
|
36 |
|
37 |
+
try:
|
38 |
+
check_fetch_aux()
|
39 |
+
except Exception as _:
|
40 |
+
ic(_)
|
41 |
+
|
42 |
raise SystemExit("Exit by intention")
|
43 |
|
44 |
|