Kuaaangwen commited on
Commit
56c44d6
1 Parent(s): 59e519b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -39,15 +39,7 @@ if sidebar_selectbox == "Compare two sentences":
39
  sentence_2 = st.text_input("Sentence 2 input")
40
 
41
  submit_button_compare = st.form_submit_button("Compare Sentences")
42
-
43
-
44
- if sidebar_selectbox == "Bulk upload and mark":
45
-
46
- st.subheader("Bulk compare similarity of sentences")
47
-
48
-
49
-
50
-
51
  # If submit_button_compare clicked
52
  if submit_button_compare:
53
 
@@ -66,3 +58,11 @@ if submit_button_compare:
66
 
67
  st.write('Similarity between {} and {} is {}%'.format(sentence_1,
68
  sentence_2, cos_sim))
 
 
 
 
 
 
 
 
 
39
  sentence_2 = st.text_input("Sentence 2 input")
40
 
41
  submit_button_compare = st.form_submit_button("Compare Sentences")
42
+
 
 
 
 
 
 
 
 
43
  # If submit_button_compare clicked
44
  if submit_button_compare:
45
 
 
58
 
59
  st.write('Similarity between {} and {} is {}%'.format(sentence_1,
60
  sentence_2, cos_sim))
61
+
62
+
63
+
64
+ if sidebar_selectbox == "Bulk upload and mark":
65
+
66
+ st.subheader("Bulk compare similarity of sentences")
67
+
68
+