Spaces:
Build error
Build error
freemt
commited on
Commit
·
58eec4c
1
Parent(s):
cd374f0
Remove text1, text2, thresh from ifn
Browse files- ubee/__main__.py +9 -6
ubee/__main__.py
CHANGED
@@ -75,12 +75,15 @@ except Exception as _:
|
|
75 |
# 'scores': [0.8885253667831421, 0.10581762343645096, 0.005657028406858444]}
|
76 |
# Runs OK
|
77 |
|
|
|
|
|
|
|
78 |
|
79 |
# segment: str
|
80 |
def ifn(
|
81 |
-
text1,
|
82 |
-
text2,
|
83 |
-
thresh: float
|
84 |
) -> Tuple[pd.DataFrame, pd.DataFrame, pd.DataFrame]:
|
85 |
"""Take inputs, return outputs.
|
86 |
|
@@ -310,9 +313,9 @@ def main():
|
|
310 |
btn.click(
|
311 |
fn=ifn,
|
312 |
inputs=[
|
313 |
-
text1,
|
314 |
-
text2,
|
315 |
-
thresh,
|
316 |
],
|
317 |
outputs=[
|
318 |
out_df,
|
|
|
75 |
# 'scores': [0.8885253667831421, 0.10581762343645096, 0.005657028406858444]}
|
76 |
# Runs OK
|
77 |
|
78 |
+
text1= ""
|
79 |
+
text2 = ""
|
80 |
+
thresh: float = 0.4
|
81 |
|
82 |
# segment: str
|
83 |
def ifn(
|
84 |
+
# text1,
|
85 |
+
# text2,
|
86 |
+
# thresh: float
|
87 |
) -> Tuple[pd.DataFrame, pd.DataFrame, pd.DataFrame]:
|
88 |
"""Take inputs, return outputs.
|
89 |
|
|
|
313 |
btn.click(
|
314 |
fn=ifn,
|
315 |
inputs=[
|
316 |
+
# text1,
|
317 |
+
# text2,
|
318 |
+
# thresh,
|
319 |
],
|
320 |
outputs=[
|
321 |
out_df,
|