contradiction shown, commonality score hide
Browse files
app.py
CHANGED
@@ -256,8 +256,8 @@ def contradiction_detection_for_sentence(cd_query, cd_query_line_number):
|
|
256 |
st.write("master document sentence: ", top_sentence[1])
|
257 |
st.write("secondary document line number", cd_query_line_number)
|
258 |
st.write("secondary document sentence: ", cd_query)
|
259 |
-
st.write("commonality score",top_sentence[2])
|
260 |
-
|
261 |
# st.write(contradiction_detection(st.session_state.premise, top_sentence[1]))
|
262 |
|
263 |
else:
|
|
|
256 |
st.write("master document sentence: ", top_sentence[1])
|
257 |
st.write("secondary document line number", cd_query_line_number)
|
258 |
st.write("secondary document sentence: ", cd_query)
|
259 |
+
# st.write("commonality score",top_sentence[2])
|
260 |
+
st.write(contradiction_detection_result)
|
261 |
# st.write(contradiction_detection(st.session_state.premise, top_sentence[1]))
|
262 |
|
263 |
else:
|