Spaces:
Build error
Build error
freemt
commited on
Commit
•
79618dd
1
Parent(s):
03be791
Debug
Browse files- README.md +1 -1
- ubee/__main__.py +9 -1
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🏢
|
|
4 |
colorFrom: blue
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.0.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
|
|
4 |
colorFrom: blue
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.0.22
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
ubee/__main__.py
CHANGED
@@ -44,7 +44,15 @@ try:
|
|
44 |
except Exception as _:
|
45 |
ic(["fetch_check_aux.fetch_check_aux", _])
|
46 |
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
|
50 |
# segment: str
|
|
|
44 |
except Exception as _:
|
45 |
ic(["fetch_check_aux.fetch_check_aux", _])
|
46 |
|
47 |
+
from model_pool.load_model import load_model
|
48 |
+
try:
|
49 |
+
clas = load_model("clas-l-user")
|
50 |
+
except Exception as _:
|
51 |
+
ic(["load_model(\"clas-l-user\")", _])
|
52 |
+
_ = clas("love", "liebe, hate you, test", False)
|
53 |
+
print(_)
|
54 |
+
|
55 |
+
raise SystemExit("Exit by intention")
|
56 |
|
57 |
|
58 |
# segment: str
|