Towhidul commited on
Commit
8c5938d
·
1 Parent(s): bea2071

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -3
app.py CHANGED
@@ -29,7 +29,18 @@ 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.
@@ -42,10 +53,10 @@ st.caption(':red[At times, you may encounter null/none outputs, which could be a
42
 
43
  # import streamlit as st
44
 
45
- claim_text = st.text_input('Enter your claim:','''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 .''')
46
  # st.write('The claim is', claim_text)
47
 
48
- evidence_text = st.text_input('Enter your evidence:','''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.''')
49
 
50
  import pandas as pd
51
  import numpy as np
 
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
+ st.caption('To begin, this is an example of a claim and evidence.')
34
+
35
+ st.text(':Green[Claim]')
36
+ st.text('''Amazon announced on March 16 it would hire 100,000 new warehouse and delivery workers and
37
+ raise wages $ 2 per hour through April in response to increased demand for its services because of the coronavirus pandemic .''')
38
+
39
+ st.text(':Green[Evidence]')
40
+ st.text('''Due to the consumers increasingly relying on online retailers,
41
+ Amazon planned to hire over 99,000 workers in the warehouse and delivery sector during the Pandemic in the USA.''')
42
+
43
+
44
  #-----------------------------------------------------------
45
  # claim_text=st.text_area("Enter your claim:",'''
46
  # 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.
 
53
 
54
  # import streamlit as st
55
 
56
+ claim_text = st.text_input('Enter your claim:')
57
  # st.write('The claim is', claim_text)
58
 
59
+ evidence_text = st.text_input('Enter your evidence:')
60
 
61
  import pandas as pd
62
  import numpy as np