Duy-Anh Dang commited on
Commit
31a026e
·
1 Parent(s): 320f7b4
Files changed (1) hide show
  1. app.py +21 -19
app.py CHANGED
@@ -80,23 +80,6 @@ def WHITE_SPACE(lines):
80
  for x in range(lines):
81
  st.write(' ')
82
 
83
- st.markdown("#### Sentiment Analysis: Email Industry v1.2")
84
-
85
- stats_col1, stats_col2, stats_col3, stats_col4 = st.columns([1,1,1,1])
86
-
87
- with stats_col1:
88
- st.caption("Verified: Production")
89
- #st.metric(label="Verified", value= "Production")
90
- with stats_col2:
91
- st.caption("Accuracy: 85%")
92
- #st.metric(label="Accuracy", value= "85%")
93
- with stats_col3:
94
- st.caption("Speed: 3.86 ms")
95
- #st.metric(label="Speed", value="3.86 ms")
96
-
97
- with stats_col4:
98
- st.caption("Industry: Email")
99
- #st.metric(label="Industry", value="Email")
100
 
101
  with st.sidebar:
102
 
@@ -135,9 +118,27 @@ target_variables = ['Conversion_Rate','Click_To_Open_Rate','Revenue_Per_Email']
135
 
136
  region_variables = ['Africa', 'America', 'Asia', 'Europe', 'Oceania']
137
 
138
- input_text = st.text_area("Please enter your email text here: ", height=50)
139
-
140
  with st.empty().container():
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
 
142
  with st.expander('Please select your parameters: '):
143
  with streamlit_analytics.track('test123'):
@@ -280,3 +281,4 @@ with st.empty().container():
280
  placeholder.empty()
281
 
282
  WHITE_SPACE(10)
 
 
80
  for x in range(lines):
81
  st.write(' ')
82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
  with st.sidebar:
85
 
 
118
 
119
  region_variables = ['Africa', 'America', 'Asia', 'Europe', 'Oceania']
120
 
 
 
121
  with st.empty().container():
122
+
123
+ st.markdown("#### Sentiment Analysis: Email Industry v1.2")
124
+
125
+ stats_col1, stats_col2, stats_col3, stats_col4 = st.columns([1,1,1,1])
126
+
127
+ with stats_col1:
128
+ st.caption("Verified: Production")
129
+ #st.metric(label="Verified", value= "Production")
130
+ with stats_col2:
131
+ st.caption("Accuracy: 85%")
132
+ #st.metric(label="Accuracy", value= "85%")
133
+ with stats_col3:
134
+ st.caption("Speed: 3.86 ms")
135
+ #st.metric(label="Speed", value="3.86 ms")
136
+
137
+ with stats_col4:
138
+ st.caption("Industry: Email")
139
+ #st.metric(label="Industry", value="Email")
140
+
141
+ input_text = st.text_area("Please enter your email text here: ", height=50)
142
 
143
  with st.expander('Please select your parameters: '):
144
  with streamlit_analytics.track('test123'):
 
281
  placeholder.empty()
282
 
283
  WHITE_SPACE(10)
284
+ WHITE_SPACE(10)