Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ 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 |
|
| 32 |
st.caption('Start by inputting the following instance of a claim and corresponding evidence into the designated text fields.')
|
| 33 |
-
|
| 34 |
st.caption('**Example 1**')
|
| 35 |
st.caption(''':green[Claim:] :point_right: Amazon announced on March 16 it would hire 100,000 new warehouse and delivery workers and
|
| 36 |
raise wages $ 2 per hour through April in response to increased demand for its services because of the coronavirus pandemic .''')
|
|
@@ -38,13 +38,16 @@ raise wages $ 2 per hour through April in response to increased demand for its s
|
|
| 38 |
st.caption(''':green[Evidence:] :point_right: Due to the consumers increasingly relying on online retailers,
|
| 39 |
Amazon planned to hire over 99,000 workers in the warehouse and delivery sector during the Pandemic in the USA.''')
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
-
|
| 46 |
-
# st.caption('''Due to the consumers increasingly relying on online retailers,
|
| 47 |
-
# Amazon planned to hire over 99,000 workers in the warehouse and delivery sector during the Pandemic in the USA.''')
|
| 48 |
|
| 49 |
|
| 50 |
#-----------------------------------------------------------
|
|
@@ -53,7 +56,7 @@ claim_text=st.text_area("Enter your claim:")
|
|
| 53 |
evidence_text=st.text_area("Enter your evidence:")
|
| 54 |
|
| 55 |
if evidence_text:
|
| 56 |
-
st.caption(':
|
| 57 |
|
| 58 |
|
| 59 |
import pandas as pd
|
|
|
|
| 30 |
st.caption('Upon completing these two steps, kindly wait for a minute to receive the results.')
|
| 31 |
|
| 32 |
st.caption('Start by inputting the following instance of a claim and corresponding evidence into the designated text fields.')
|
| 33 |
+
#-----------------------------------------------------------------------------------------------
|
| 34 |
st.caption('**Example 1**')
|
| 35 |
st.caption(''':green[Claim:] :point_right: Amazon announced on March 16 it would hire 100,000 new warehouse and delivery workers and
|
| 36 |
raise wages $ 2 per hour through April in response to increased demand for its services because of the coronavirus pandemic .''')
|
|
|
|
| 38 |
st.caption(''':green[Evidence:] :point_right: Due to the consumers increasingly relying on online retailers,
|
| 39 |
Amazon planned to hire over 99,000 workers in the warehouse and delivery sector during the Pandemic in the USA.''')
|
| 40 |
|
| 41 |
+
#-----------------------------------------------------------------------------------------------
|
| 42 |
+
st.caption('**Example 2**')
|
| 43 |
+
st.caption(''':green[Claim:] :point_right: As of March 18 , 2020 , there were more than 77 confirmed
|
| 44 |
+
cases reported in the state of Virginia.''')
|
| 45 |
+
|
| 46 |
+
st.caption(''':green[Evidence:] :point_right: The Washington region’s total number of novel coronavirus cases grew to 203 on Wednesday.
|
| 47 |
+
Maryland added 23 cases Wednesday, bringing the state’s total to 86.
|
| 48 |
+
Virginia reported 10 more cases, for a total of 77, including the Washington region’s only two deaths.''')
|
| 49 |
|
| 50 |
+
#-----------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
| 51 |
|
| 52 |
|
| 53 |
#-----------------------------------------------------------
|
|
|
|
| 56 |
evidence_text=st.text_area("Enter your evidence:")
|
| 57 |
|
| 58 |
if evidence_text:
|
| 59 |
+
st.caption(':blue[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.]')
|
| 60 |
|
| 61 |
|
| 62 |
import pandas as pd
|