Spaces:
Runtime error
Runtime error
freemt
commited on
Commit
·
3552908
1
Parent(s):
2650a26
Manually resolved stashed conflict
Browse files
app.py
CHANGED
@@ -33,7 +33,9 @@ def fn(text1: str, text2: str) -> np.ndarray:
|
|
33 |
return str(e)
|
34 |
# raise
|
35 |
|
36 |
-
return res.round(2)
|
|
|
|
|
37 |
|
38 |
out_df = gr.outputs.Dataframe(
|
39 |
# headers=None,
|
@@ -67,7 +69,7 @@ try:
|
|
67 |
article="Click 'Clear' first for subsequent new texts",
|
68 |
examples=[
|
69 |
"This is a text.", "Ich liebe Dich.", "abc",
|
70 |
-
"我爱你\nI love you.\n测试\nbcd"
|
71 |
],
|
72 |
)
|
73 |
except Exception as e:
|
|
|
33 |
return str(e)
|
34 |
# raise
|
35 |
|
36 |
+
# return res.round(2)
|
37 |
+
return res
|
38 |
+
|
39 |
|
40 |
out_df = gr.outputs.Dataframe(
|
41 |
# headers=None,
|
|
|
69 |
article="Click 'Clear' first for subsequent new texts",
|
70 |
examples=[
|
71 |
"This is a text.", "Ich liebe Dich.", "abc",
|
72 |
+
"我爱你\nI love you.\n测试\nbcd",
|
73 |
],
|
74 |
)
|
75 |
except Exception as e:
|