alidenewade commited on
Commit
f6174f8
·
verified ·
1 Parent(s): dfd281b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -10
app.py CHANGED
@@ -582,9 +582,9 @@ with tab1:
582
  st.text_area("", res1.get('fasta_log', 'No data'), height=200, key="fasta_info_area")
583
  with p1_tabs[1]:
584
  st.subheader("Drug-Likeness Assessment (Lipinski's Rule of Five)")
585
- st.dataframe(res1.get('lipinski_subset_df', pd.DataFrame()), use_container_width=True)
586
  st.subheader("Calculated Molecular Properties")
587
- st.dataframe(res1.get('props_df', pd.DataFrame()), use_container_width=True)
588
  with p1_tabs[2]:
589
  st.subheader("Molecular Properties Dashboard")
590
  if res1.get('props_plot'):
@@ -640,10 +640,10 @@ with tab2:
640
  col1, col2 = st.columns(2)
641
  with col1:
642
  st.subheader("Virtual Screening Results (Simulated)")
643
- st.dataframe(res2.get('screening_df', pd.DataFrame()), use_container_width=True)
644
  with col2:
645
  st.subheader("ADMET Properties Prediction")
646
- st.dataframe(res2.get('admet_df', pd.DataFrame()), use_container_width=True)
647
  with p2_tabs[1]:
648
  st.subheader("Interactive 2D and 3D views of candidate molecules.")
649
  if res2.get('combined_viz_html'):
@@ -692,9 +692,9 @@ with tab3:
692
  st.subheader("Comprehensive Molecular Properties & AI-Powered Toxicity Prediction (Simulated)")
693
  col1, col2 = st.columns(2)
694
  with col1:
695
- st.dataframe(res3.get('comp_props_df', pd.DataFrame()), use_container_width=True)
696
  with col2:
697
- st.dataframe(res3.get('tox_df', pd.DataFrame()), use_container_width=True)
698
  with p3_tabs[1]:
699
  st.subheader("Interactive 3D gallery of the compounds under analysis.")
700
  if res3.get('combined_viz_html'):
@@ -739,14 +739,13 @@ with tab4:
739
  st.subheader("Simulated Adverse Event Analysis")
740
  if res4.get('plot_bar'):
741
  st.pyplot(res4['plot_bar'])
742
- st.dataframe(res4['rwd_df'], use_container_width=True)
743
 
744
  with p4_tabs[1]:
745
  col1, col2 = st.columns(2)
746
  with col1:
747
  st.subheader("AI/ML Documentation Summary for Submission")
748
- st.dataframe(res4.get('reg_df', pd.DataFrame()), use_container_width=True)
749
  with col2:
750
  st.subheader("Ethical Framework for AI in Healthcare")
751
- st.dataframe(res4.get('eth_df', pd.DataFrame()), use_container_width=True)
752
-
 
582
  st.text_area("", res1.get('fasta_log', 'No data'), height=200, key="fasta_info_area")
583
  with p1_tabs[1]:
584
  st.subheader("Drug-Likeness Assessment (Lipinski's Rule of Five)")
585
+ st.dataframe(res1.get('lipinski_subset_df', pd.DataFrame()), use_container_width=True, hide_index=True)
586
  st.subheader("Calculated Molecular Properties")
587
+ st.dataframe(res1.get('props_df', pd.DataFrame()), use_container_width=True, hide_index=True)
588
  with p1_tabs[2]:
589
  st.subheader("Molecular Properties Dashboard")
590
  if res1.get('props_plot'):
 
640
  col1, col2 = st.columns(2)
641
  with col1:
642
  st.subheader("Virtual Screening Results (Simulated)")
643
+ st.dataframe(res2.get('screening_df', pd.DataFrame()), use_container_width=True, hide_index=True)
644
  with col2:
645
  st.subheader("ADMET Properties Prediction")
646
+ st.dataframe(res2.get('admet_df', pd.DataFrame()), use_container_width=True, hide_index=True)
647
  with p2_tabs[1]:
648
  st.subheader("Interactive 2D and 3D views of candidate molecules.")
649
  if res2.get('combined_viz_html'):
 
692
  st.subheader("Comprehensive Molecular Properties & AI-Powered Toxicity Prediction (Simulated)")
693
  col1, col2 = st.columns(2)
694
  with col1:
695
+ st.dataframe(res3.get('comp_props_df', pd.DataFrame()), use_container_width=True, hide_index=True)
696
  with col2:
697
+ st.dataframe(res3.get('tox_df', pd.DataFrame()), use_container_width=True, hide_index=True)
698
  with p3_tabs[1]:
699
  st.subheader("Interactive 3D gallery of the compounds under analysis.")
700
  if res3.get('combined_viz_html'):
 
739
  st.subheader("Simulated Adverse Event Analysis")
740
  if res4.get('plot_bar'):
741
  st.pyplot(res4['plot_bar'])
742
+ st.dataframe(res4.get('rwd_df', pd.DataFrame()), use_container_width=True, hide_index=True)
743
 
744
  with p4_tabs[1]:
745
  col1, col2 = st.columns(2)
746
  with col1:
747
  st.subheader("AI/ML Documentation Summary for Submission")
748
+ st.dataframe(res4.get('reg_df', pd.DataFrame()), use_container_width=True, hide_index=True)
749
  with col2:
750
  st.subheader("Ethical Framework for AI in Healthcare")
751
+ st.dataframe(res4.get('eth_df', pd.DataFrame()), use_container_width=True, hide_index=True)