Update app.py
Browse files
app.py
CHANGED
|
@@ -27,13 +27,17 @@ st.header('5W Aspect-based Fact Verification through Question Answering :blue[We
|
|
| 27 |
st.subheader('Here are a few steps to begin exploring and interacting with this demo.')
|
| 28 |
st.caption('First you need to input your claim and press :green[ctrl+enter].')
|
| 29 |
st.caption('Then you need to input your evidence and press :green[ctrl+enter].')
|
| 30 |
-
st.caption('
|
| 31 |
st.caption(':red[At times, you may encounter null/none outputs, which could be a result of a delay in loading the models through the API. If you experience this problem, kindly try again after a few minutes.]')
|
| 32 |
|
| 33 |
#-----------------------------------------------------------
|
| 34 |
-
claim_text=st.text_area("Enter your claim:"
|
|
|
|
|
|
|
| 35 |
|
| 36 |
-
evidence_text=st.text_area("Enter your evidence:"
|
|
|
|
|
|
|
| 37 |
|
| 38 |
import pandas as pd
|
| 39 |
import numpy as np
|
|
|
|
| 27 |
st.subheader('Here are a few steps to begin exploring and interacting with this demo.')
|
| 28 |
st.caption('First you need to input your claim and press :green[ctrl+enter].')
|
| 29 |
st.caption('Then you need to input your evidence and press :green[ctrl+enter].')
|
| 30 |
+
st.caption('Upon completing these two steps, kindly wait for a minute to receive the results.')
|
| 31 |
st.caption(':red[At times, you may encounter null/none outputs, which could be a result of a delay in loading the models through the API. If you experience this problem, kindly try again after a few minutes.]')
|
| 32 |
|
| 33 |
#-----------------------------------------------------------
|
| 34 |
+
claim_text=st.text_area("Enter your claim:",'''
|
| 35 |
+
Due to the consumers increasingly relying on online retailers, Amazon planned to hire over 99,000 workers in the warehouse and delivery sector during the Pandemic in the USA.
|
| 36 |
+
''')
|
| 37 |
|
| 38 |
+
evidence_text=st.text_area("Enter your evidence:",'''
|
| 39 |
+
Amazon announced on March 16 it would hire 100,000 new warehouse and delivery workers and raise wages $ 2 per hour through April in response to increased demand for its services because of the coronavirus pandemic .
|
| 40 |
+
''')
|
| 41 |
|
| 42 |
import pandas as pd
|
| 43 |
import numpy as np
|