Spaces:
Build error
Build error
freemt
commited on
Commit
·
da8f9c2
1
Parent(s):
844aef2
Update enable_queue=True
Browse files- ubee/__main__.py +9 -4
ubee/__main__.py
CHANGED
@@ -76,11 +76,16 @@ def main():
|
|
76 |
title = "Ultimatumbee Aligner"
|
77 |
theme = "dark-grass"
|
78 |
description = """WIP showcasing a novel aligner"""
|
79 |
-
article = """
|
|
|
|
|
|
|
|
|
|
|
80 |
"""
|
81 |
examples = [
|
82 |
-
["yo\nme", "你\n我"],
|
83 |
-
["me\nshe", "你\n她", ],
|
84 |
]
|
85 |
|
86 |
lines = 15
|
@@ -148,7 +153,7 @@ def main():
|
|
148 |
outputs=outputs,
|
149 |
examples=examples,
|
150 |
)
|
151 |
-
iface.launch(enable_queue=
|
152 |
|
153 |
|
154 |
if __name__ == "__main__":
|
|
|
76 |
title = "Ultimatumbee Aligner"
|
77 |
theme = "dark-grass"
|
78 |
description = """WIP showcasing a novel aligner"""
|
79 |
+
article = """
|
80 |
+
The ultimatumbee aligner (``ubee`` for short) is intended for aligning text blocks (be it paragraphs, sentences or words). Since it is rather slow (30 para pairs (Wuthering Height ch1. for example) can take 10 to 20 mniutes), 50 or more blocks should probably be avaoided. Nevertheless, you are welcome to try. No big brother is watching.
|
81 |
+
|
82 |
+
``thresh``: longer text blocks justify a larger value; `.5` appears to be just right for paragraphs for Wuthering Height ch1.
|
83 |
+
|
84 |
+
Stay tuned for more details coming soon...
|
85 |
"""
|
86 |
examples = [
|
87 |
+
["yo\nme", "你\n我", .5],
|
88 |
+
["me\nshe", "你\n她", .5],
|
89 |
]
|
90 |
|
91 |
lines = 15
|
|
|
153 |
outputs=outputs,
|
154 |
examples=examples,
|
155 |
)
|
156 |
+
iface.launch(enable_queue=True)
|
157 |
|
158 |
|
159 |
if __name__ == "__main__":
|