Spaces:
Build error
Build error
freemt
commited on
Commit
·
99cd496
1
Parent(s):
090de1f
Debug
Browse files- ubee/__main__.py +6 -8
ubee/__main__.py
CHANGED
@@ -30,16 +30,14 @@ ic.configureOutput(
|
|
30 |
ic.enable()
|
31 |
# ic.disenable() # to turn off
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
"""Dummy."""
|
36 |
-
return "Hello " + name + "!!"
|
37 |
|
38 |
|
39 |
# segment: str
|
40 |
def ifn(
|
41 |
-
text1,
|
42 |
-
text2,
|
43 |
# thresh: float
|
44 |
) -> Tuple[pd.DataFrame, pd.DataFrame, pd.DataFrame]:
|
45 |
"""Take inputs, return outputs.
|
@@ -265,8 +263,8 @@ def main():
|
|
265 |
btn.click(
|
266 |
ifn,
|
267 |
inputs=[
|
268 |
-
text1,
|
269 |
-
text2,
|
270 |
],
|
271 |
outputs=[
|
272 |
out_df,
|
|
|
30 |
ic.enable()
|
31 |
# ic.disenable() # to turn off
|
32 |
|
33 |
+
ic("Testing...")
|
34 |
+
raise SystemExit("Exit by intention")
|
|
|
|
|
35 |
|
36 |
|
37 |
# segment: str
|
38 |
def ifn(
|
39 |
+
# text1,
|
40 |
+
# text2,
|
41 |
# thresh: float
|
42 |
) -> Tuple[pd.DataFrame, pd.DataFrame, pd.DataFrame]:
|
43 |
"""Take inputs, return outputs.
|
|
|
263 |
btn.click(
|
264 |
ifn,
|
265 |
inputs=[
|
266 |
+
# text1,
|
267 |
+
# text2,
|
268 |
],
|
269 |
outputs=[
|
270 |
out_df,
|