Spaces:
Runtime error
Runtime error
Create new file
Browse files
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.")
|