darwinharianto commited on
Commit
c3ce138
·
1 Parent(s): 8784c22

added japanese sample

Browse files
Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -38,9 +38,19 @@ if __name__=="__main__":
38
 
39
  col1, col2 = st.columns(2)
40
  with col1:
41
- text1 = st.text_area("Input Text", value="The quick brown fox jumps over the lazy dog.")
 
 
 
 
 
42
  with col2:
43
- text2 = st.text_area("Source Text", value="The quick brown fox jumps over the lazy cat.")
 
 
 
 
 
44
 
45
  diff = compare_string(text2, text1)
46
  fullText = style_text(diff)
 
38
 
39
  col1, col2 = st.columns(2)
40
  with col1:
41
+ text1 = st.text_area("Input Text", value=
42
+ """
43
+ The quick brown fox jumps over the lazy dog.
44
+ この竹垣に竹立てかけたのは竹立てかけたかったからか竹立てかけ
45
+ """
46
+ )
47
  with col2:
48
+ text2 = st.text_area("Source Text", value=
49
+ """
50
+ The quick brown fox jumps over the lazy cat.
51
+ この竹垣に竹立てかけたのは竹立てかけたかったから竹立てかけた
52
+ """
53
+ )
54
 
55
  diff = compare_string(text2, text1)
56
  fullText = style_text(diff)