Update app.py
Browse files
app.py
CHANGED
@@ -32,17 +32,17 @@ st.caption('Upon completing these two steps, kindly wait for a minute to receive
|
|
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('''
|
36 |
raise wages $ 2 per hour through April in response to increased demand for its services because of the coronavirus pandemic .''')
|
37 |
|
38 |
-
st.caption('''
|
39 |
Amazon planned to hire over 99,000 workers in the warehouse and delivery sector during the Pandemic in the USA.''')
|
40 |
|
41 |
-
# st.caption('
|
42 |
# st.caption('''Amazon announced on March 16 it would hire 100,000 new warehouse and delivery workers and
|
43 |
# raise wages $ 2 per hour through April in response to increased demand for its services because of the coronavirus pandemic .''')
|
44 |
|
45 |
-
# st.caption('
|
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 |
|
@@ -52,7 +52,8 @@ claim_text=st.text_area("Enter your claim:")
|
|
52 |
|
53 |
evidence_text=st.text_area("Enter your evidence:")
|
54 |
|
55 |
-
|
|
|
56 |
|
57 |
|
58 |
import pandas as pd
|
|
|
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 .''')
|
37 |
|
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 |
+
# st.caption(':green[Claim:] :point_down:')
|
42 |
# st.caption('''Amazon announced on March 16 it would hire 100,000 new warehouse and delivery workers and
|
43 |
# raise wages $ 2 per hour through April in response to increased demand for its services because of the coronavirus pandemic .''')
|
44 |
|
45 |
+
# st.caption(':green[Evidence:] :point_down:')
|
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 |
|
|
|
52 |
|
53 |
evidence_text=st.text_area("Enter your evidence:")
|
54 |
|
55 |
+
if evidence_text:
|
56 |
+
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.]')
|
57 |
|
58 |
|
59 |
import pandas as pd
|