TovaHasi commited on
Commit
5b22d2f
1 Parent(s): f7daa70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -39,8 +39,6 @@ def get_number_pallets_and_machines_employees():
39
 
40
  return Number_pallets, Number_machines, Number_employees
41
 
42
- Number_pallets, Number_machines, Number_employees = get_number_pallets_and_machines_employees()
43
-
44
 
45
  def get_revenue():
46
  revenue = Number_machines * Number_pallets * Price_for_processing_ont_pallet
@@ -108,11 +106,13 @@ def get_array_NPV():
108
  array_NPV.append(array_NPV[-1] + array_PV[idx])
109
  return array_NPV
110
 
111
- array_PV = get_array_PV()
112
- array_NPV = get_array_NPV()
113
 
114
 
115
  if st.button('Сюда кликнуть чтобы посчитать'):
 
 
 
116
  st.write('Тут всё показываем')
117
 
118
 
 
39
 
40
  return Number_pallets, Number_machines, Number_employees
41
 
 
 
42
 
43
  def get_revenue():
44
  revenue = Number_machines * Number_pallets * Price_for_processing_ont_pallet
 
106
  array_NPV.append(array_NPV[-1] + array_PV[idx])
107
  return array_NPV
108
 
109
+
 
110
 
111
 
112
  if st.button('Сюда кликнуть чтобы посчитать'):
113
+ Number_pallets, Number_machines, Number_employees = get_number_pallets_and_machines_employees()
114
+ array_PV = get_array_PV()
115
+ array_NPV = get_array_NPV()
116
  st.write('Тут всё показываем')
117
 
118