Spaces:
Sleeping
Sleeping
Rick-Xu315
commited on
Commit
•
ca2a7b0
1
Parent(s):
aa4ba37
debug
Browse files
app.py
CHANGED
@@ -66,8 +66,9 @@ def process(text1, text2,function):
|
|
66 |
(token[2:], token[0] if token[0] != " " else None)
|
67 |
for token in d.compare(text1, text2)
|
68 |
]
|
69 |
-
|
70 |
return(word_lcs(text1,text2))
|
|
|
71 |
|
72 |
|
73 |
# 创建 Gradio 界面
|
|
|
66 |
(token[2:], token[0] if token[0] != " " else None)
|
67 |
for token in d.compare(text1, text2)
|
68 |
]
|
69 |
+
else:
|
70 |
return(word_lcs(text1,text2))
|
71 |
+
|
72 |
|
73 |
|
74 |
# 创建 Gradio 界面
|