jinysun commited on
Commit
aa4308c
Β·
1 Parent(s): 67d0a8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -26,7 +26,7 @@ with col1:
26
  with col2:
27
 
28
  st.link_button("πŸ“**DATABASE**", r"https://docs.google.com/spreadsheets/d/1YOEIg0nMTSPkAOr8wkqxQRLuUhys3-J0I-KPEpmzPLw")
29
- st.markdown('πŸ‘†If you want to update the database, click the button.')
30
  if text_search:
31
  st.write(df_search)
32
  st.download_button( "⬇️ Download edited files as .csv", df_search.to_csv(), "df_search.csv", use_container_width=True)
@@ -35,10 +35,10 @@ edited_df.to_csv(url)
35
  st.download_button(
36
  "⬇️ Download edited files as .csv", edited_df.to_csv(), "edited_df.csv", use_container_width=True
37
  )
38
- st.header("πŸ“‹**Molecule**")
39
  molecule = st.text_input(label="*",label_visibility="hidden")
40
  smile_code = st_ketcher(molecule)
41
- st.subheader(f"✨**Smiles code**: {smile_code}")
42
  try :
43
  P = RF.main( str(smile_code ) )
44
  st.subheader(f"⚑**PCE predicted by RF**: {P}")
 
26
  with col2:
27
 
28
  st.link_button("πŸ“**DATABASE**", r"https://docs.google.com/spreadsheets/d/1YOEIg0nMTSPkAOr8wkqxQRLuUhys3-J0I-KPEpmzPLw")
29
+ st.markdown('πŸ‘†If you want to update the origin database, click the button.')
30
  if text_search:
31
  st.write(df_search)
32
  st.download_button( "⬇️ Download edited files as .csv", df_search.to_csv(), "df_search.csv", use_container_width=True)
 
35
  st.download_button(
36
  "⬇️ Download edited files as .csv", edited_df.to_csv(), "edited_df.csv", use_container_width=True
37
  )
38
+ st.header("πŸ“‹**Input the SMILES of Molecule**")
39
  molecule = st.text_input(label="*",label_visibility="hidden")
40
  smile_code = st_ketcher(molecule)
41
+ st.subheader(f"✨**The SMILES of edited molecules**: {smile_code}")
42
  try :
43
  P = RF.main( str(smile_code ) )
44
  st.subheader(f"⚑**PCE predicted by RF**: {P}")