Spaces:
Runtime error
Runtime error
freemt commited on
Commit ·
6f41e86
1
Parent(s): b0925ce
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def greet(name):
|
|
| 24 |
def ml_fn(
|
| 25 |
text1: str,
|
| 26 |
text2: str,
|
| 27 |
-
split_to_sents: bool = False
|
| 28 |
) -> pd.DataFrame:
|
| 29 |
"""Align text1 text2"""
|
| 30 |
text1 = str(text1)
|
|
@@ -72,7 +72,6 @@ mlbee = gr.Interface(
|
|
| 72 |
title=f"radio-mlbee {__version__}",
|
| 73 |
description="mlbee rest api on dev ",
|
| 74 |
examples=[
|
| 75 |
-
# ["a b", "cd", False],
|
| 76 |
# [text1, text2, False],
|
| 77 |
[text1[:len(text1) // 2], text2[:len(text2) // 2], False],
|
| 78 |
]
|
|
|
|
| 24 |
def ml_fn(
|
| 25 |
text1: str,
|
| 26 |
text2: str,
|
| 27 |
+
split_to_sents: bool = False,
|
| 28 |
) -> pd.DataFrame:
|
| 29 |
"""Align text1 text2"""
|
| 30 |
text1 = str(text1)
|
|
|
|
| 72 |
title=f"radio-mlbee {__version__}",
|
| 73 |
description="mlbee rest api on dev ",
|
| 74 |
examples=[
|
|
|
|
| 75 |
# [text1, text2, False],
|
| 76 |
[text1[:len(text1) // 2], text2[:len(text2) // 2], False],
|
| 77 |
]
|