Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -540,7 +540,7 @@ with tab1:
|
|
540 |
with tab3:
|
541 |
if 'rbwrte_freq' in st.session_state:
|
542 |
|
543 |
-
st.dataframe(st.session_state.rbwrte_freq.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(
|
544 |
st.download_button(
|
545 |
label="Export Exposures",
|
546 |
data=st.session_state.rbwrte_freq.to_csv().encode('utf-8'),
|
@@ -551,7 +551,7 @@ with tab1:
|
|
551 |
with tab4:
|
552 |
if 'rb_freq' in st.session_state:
|
553 |
|
554 |
-
st.dataframe(st.session_state.rb_freq.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(
|
555 |
st.download_button(
|
556 |
label="Export Exposures",
|
557 |
data=st.session_state.rb_freq.to_csv().encode('utf-8'),
|
@@ -562,7 +562,7 @@ with tab1:
|
|
562 |
with tab5:
|
563 |
if 'wr_freq' in st.session_state:
|
564 |
|
565 |
-
st.dataframe(st.session_state.wr_freq.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(
|
566 |
st.download_button(
|
567 |
label="Export Exposures",
|
568 |
data=st.session_state.wr_freq.to_csv().encode('utf-8'),
|
@@ -584,7 +584,7 @@ with tab1:
|
|
584 |
with tab7:
|
585 |
if 'flex_freq' in st.session_state:
|
586 |
|
587 |
-
st.dataframe(st.session_state.flex_freq.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(
|
588 |
st.download_button(
|
589 |
label="Export Exposures",
|
590 |
data=st.session_state.flex_freq.to_csv().encode('utf-8'),
|
@@ -595,7 +595,7 @@ with tab1:
|
|
595 |
with tab8:
|
596 |
if 'dst_freq' in st.session_state:
|
597 |
|
598 |
-
st.dataframe(st.session_state.dst_freq.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(
|
599 |
st.download_button(
|
600 |
label="Export Exposures",
|
601 |
data=st.session_state.dst_freq.to_csv().encode('utf-8'),
|
|
|
540 |
with tab3:
|
541 |
if 'rbwrte_freq' in st.session_state:
|
542 |
|
543 |
+
st.dataframe(st.session_state.rbwrte_freq.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(freq_format, precision=2), use_container_width = True)
|
544 |
st.download_button(
|
545 |
label="Export Exposures",
|
546 |
data=st.session_state.rbwrte_freq.to_csv().encode('utf-8'),
|
|
|
551 |
with tab4:
|
552 |
if 'rb_freq' in st.session_state:
|
553 |
|
554 |
+
st.dataframe(st.session_state.rb_freq.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(freq_format, precision=2), use_container_width = True)
|
555 |
st.download_button(
|
556 |
label="Export Exposures",
|
557 |
data=st.session_state.rb_freq.to_csv().encode('utf-8'),
|
|
|
562 |
with tab5:
|
563 |
if 'wr_freq' in st.session_state:
|
564 |
|
565 |
+
st.dataframe(st.session_state.wr_freq.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(freq_format, precision=2), use_container_width = True)
|
566 |
st.download_button(
|
567 |
label="Export Exposures",
|
568 |
data=st.session_state.wr_freq.to_csv().encode('utf-8'),
|
|
|
584 |
with tab7:
|
585 |
if 'flex_freq' in st.session_state:
|
586 |
|
587 |
+
st.dataframe(st.session_state.flex_freq.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(freq_format, precision=2), use_container_width = True)
|
588 |
st.download_button(
|
589 |
label="Export Exposures",
|
590 |
data=st.session_state.flex_freq.to_csv().encode('utf-8'),
|
|
|
595 |
with tab8:
|
596 |
if 'dst_freq' in st.session_state:
|
597 |
|
598 |
+
st.dataframe(st.session_state.dst_freq.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(freq_format, precision=2), use_container_width = True)
|
599 |
st.download_button(
|
600 |
label="Export Exposures",
|
601 |
data=st.session_state.dst_freq.to_csv().encode('utf-8'),
|