statistics
Browse files
app.py
CHANGED
|
@@ -34,9 +34,9 @@ with st.container():
|
|
| 34 |
# st.write("")
|
| 35 |
apps = [processing.app, target_extraction.app, netzero.app, ghg.app,
|
| 36 |
sector.app, adapmit.app]
|
| 37 |
-
multiplier_val =
|
| 38 |
if st.button("Get the work done"):
|
| 39 |
-
prg = st.progress(0
|
| 40 |
for i,func in enumerate(apps):
|
| 41 |
func()
|
| 42 |
prg.progress((i+1)*multiplier_val)
|
|
|
|
| 34 |
# st.write("")
|
| 35 |
apps = [processing.app, target_extraction.app, netzero.app, ghg.app,
|
| 36 |
sector.app, adapmit.app]
|
| 37 |
+
multiplier_val = int(100/len(apps))
|
| 38 |
if st.button("Get the work done"):
|
| 39 |
+
prg = st.progress(0)
|
| 40 |
for i,func in enumerate(apps):
|
| 41 |
func()
|
| 42 |
prg.progress((i+1)*multiplier_val)
|