furrutiav commited on
Commit
86d559b
·
1 Parent(s): ca25754

Create new file

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from util import *
2
+
3
+ Q = st.text_input("Question:")
4
+ A = st.text_input("Answer:")
5
+
6
+ if Q:
7
+ if A:
8
+ probs = C1Classifier(Q, A, is_probs=True)
9
+ st.write(f"The answer is {probs[1]} % probable to be incoherent.")