AIEcosystem commited on
Commit
f91be07
·
verified ·
1 Parent(s): 596176b

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +0 -14
src/streamlit_app.py CHANGED
@@ -22,41 +22,34 @@ st.markdown(
22
  background-color: #FFF8F0; /* A very light, creamy orange */
23
  color: #000000; /* Black for text */
24
  }
25
-
26
  /* Sidebar background color */
27
  .css-1d36184 {
28
  background-color: #FFC080; /* A soft orange for the sidebar */
29
  secondary-background-color: #FFC080;
30
  }
31
-
32
  /* Expander background color */
33
  .streamlit-expanderContent {
34
  background-color: #FFF8F0;
35
  }
36
-
37
  /* Expander header background color */
38
  .streamlit-expanderHeader {
39
  background-color: #FFF8F0;
40
  }
41
-
42
  /* Text Area background and text color */
43
  .stTextArea textarea {
44
  background-color: #FFDDAA; /* A light, soft orange */
45
  color: #000000; /* Black for text */
46
  }
47
-
48
  /* Button background and text color */
49
  .stButton > button {
50
  background-color: #FFDDAA;
51
  color: #000000;
52
  }
53
-
54
  /* Warning box background and text color */
55
  .stAlert.st-warning {
56
  background-color: #FFBB88; /* A slightly darker orange for warnings */
57
  color: #000000;
58
  }
59
-
60
  /* Success box background and text color */
61
  .stAlert.st-success {
62
  background-color: #FFBB88; /* A slightly darker orange for success boxes */
@@ -79,17 +72,11 @@ st.subheader("Business Core", divider="orange")
79
  st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
80
  expander = st.expander("**Important notes**")
81
  expander.write("""**Named Entities:** This Business Core predicts twenty-six (26) labels: "Person", "Contact", "Company", "Department", "Vendor", "Client", "Office", "Warehouse", "Address", "City", "State", "Country", "Date", "Time", "Time Period", "Revenue", "Cost", "Budget", "Invoice Number", "Product", "Service", "Task", "Project", "Status", "Asset", "Transaction"
82
-
83
  Results are presented in easy-to-read tables, visualized in an interactive tree map, pie chart and bar chart, and are available for download along with a Glossary of tags.
84
-
85
  **How to Use:** Type or paste your text into the text area below, then press Ctrl + Enter. Click the 'Results' button to extract and tag entities in your text data.
86
-
87
  **Usage Limits:** You can request results unlimited times for one (1) month.
88
-
89
  **Supported Languages:** English
90
-
91
  **Technical issues:** If your connection times out, please refresh the page or reopen the app's URL.
92
-
93
  For any errors or inquiries, please contact us at [email protected]""")
94
 
95
  with st.sidebar:
@@ -101,7 +88,6 @@ with st.sidebar:
101
  width="850"
102
  height="450"
103
  ></iframe>
104
-
105
  '''
106
  st.code(code, language="html")
107
  st.text("")
 
22
  background-color: #FFF8F0; /* A very light, creamy orange */
23
  color: #000000; /* Black for text */
24
  }
 
25
  /* Sidebar background color */
26
  .css-1d36184 {
27
  background-color: #FFC080; /* A soft orange for the sidebar */
28
  secondary-background-color: #FFC080;
29
  }
 
30
  /* Expander background color */
31
  .streamlit-expanderContent {
32
  background-color: #FFF8F0;
33
  }
 
34
  /* Expander header background color */
35
  .streamlit-expanderHeader {
36
  background-color: #FFF8F0;
37
  }
 
38
  /* Text Area background and text color */
39
  .stTextArea textarea {
40
  background-color: #FFDDAA; /* A light, soft orange */
41
  color: #000000; /* Black for text */
42
  }
 
43
  /* Button background and text color */
44
  .stButton > button {
45
  background-color: #FFDDAA;
46
  color: #000000;
47
  }
 
48
  /* Warning box background and text color */
49
  .stAlert.st-warning {
50
  background-color: #FFBB88; /* A slightly darker orange for warnings */
51
  color: #000000;
52
  }
 
53
  /* Success box background and text color */
54
  .stAlert.st-success {
55
  background-color: #FFBB88; /* A slightly darker orange for success boxes */
 
72
  st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
73
  expander = st.expander("**Important notes**")
74
  expander.write("""**Named Entities:** This Business Core predicts twenty-six (26) labels: "Person", "Contact", "Company", "Department", "Vendor", "Client", "Office", "Warehouse", "Address", "City", "State", "Country", "Date", "Time", "Time Period", "Revenue", "Cost", "Budget", "Invoice Number", "Product", "Service", "Task", "Project", "Status", "Asset", "Transaction"
 
75
  Results are presented in easy-to-read tables, visualized in an interactive tree map, pie chart and bar chart, and are available for download along with a Glossary of tags.
 
76
  **How to Use:** Type or paste your text into the text area below, then press Ctrl + Enter. Click the 'Results' button to extract and tag entities in your text data.
 
77
  **Usage Limits:** You can request results unlimited times for one (1) month.
 
78
  **Supported Languages:** English
 
79
  **Technical issues:** If your connection times out, please refresh the page or reopen the app's URL.
 
80
  For any errors or inquiries, please contact us at [email protected]""")
81
 
82
  with st.sidebar:
 
88
  width="850"
89
  height="450"
90
  ></iframe>
 
91
  '''
92
  st.code(code, language="html")
93
  st.text("")