Spaces:
Sleeping
Sleeping
ruchi
commited on
Commit
·
e8b5d00
1
Parent(s):
cba6638
Fix subscriber take up count to 3 values
Browse files
app.py
CHANGED
@@ -239,14 +239,14 @@ if submit_button_proposition:
|
|
239 |
st.write("{}. {} and has subscriber takeout of {}".format(topology, topologySumDict[topology], topologyPopulation))
|
240 |
|
241 |
st.write(" Target Subscriber takeout = {}".format(totalSubscriberTakeOut))
|
242 |
-
st.write(" Total Subscriber
|
243 |
|
244 |
-
if totalSubscriberTakeOut<
|
245 |
-
st.write("Overall there is not a close match of your proposition to the main demographic. Takeout score difference = {}".format(
|
246 |
-
elif totalSubscriberTakeOut==
|
247 |
-
st.write("
|
248 |
else:
|
249 |
-
st.write("
|
250 |
|
251 |
# 250 and below with a negative factor of 2.0
|
252 |
# 260 with a negative factor of 1.8
|
|
|
239 |
st.write("{}. {} and has subscriber takeout of {}".format(topology, topologySumDict[topology], topologyPopulation))
|
240 |
|
241 |
st.write(" Target Subscriber takeout = {}".format(totalSubscriberTakeOut))
|
242 |
+
st.write(" Total Subscriber take up for Year 3 = {}".format(subscriberTakeOutYear3))
|
243 |
|
244 |
+
if totalSubscriberTakeOut<subscriberTakeOutYear3:
|
245 |
+
st.write("Overall there is not a close match of your proposition to the main demographic. Takeout score difference = {}".format(subscriberTakeOutYear3-totalSubscriberTakeOut))
|
246 |
+
elif totalSubscriberTakeOut==subscriberTakeOutYear3:
|
247 |
+
st.write("Amazing! Your proposition exactly match the target subscriber take oup for year 3")
|
248 |
else:
|
249 |
+
st.write("Great Job! Your proposition exceeds the target subscriber take up for year 3. Additional takeout = {}".format(totalSubscriberTakeOut- subscriberTakeOutYear3))
|
250 |
|
251 |
# 250 and below with a negative factor of 2.0
|
252 |
# 260 with a negative factor of 1.8
|