sagawa commited on
Commit
24e6df4
·
1 Parent(s): a1bf931

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -14,10 +14,7 @@ from rdkit import Chem
14
  import rdkit
15
  import streamlit as st
16
 
17
- display_text = 'At this space, you can predict the products of reactions from their inputs. \
18
- The format of the string is like "REACTANT:{reactants of the reaction}CATALYST:{catalysts of the reaction}REAGENT:{reagents of the reaction}SOLVENT:{solvent of the reaction}". \
19
- If there are no catalyst or reagent, fill the blank with a space. And if there are multiple reactants, concatenate them with ".".\
20
- (e.g. REACTANT:CNc1nc(SC)ncc1CO.O.O=[Cr](=O)([O-])O[Cr](=O)(=O)[O-].[Na+]CATALYST: REAGENT: SOLVENT:CC(=O)O)'
21
 
22
  class CFG():
23
  input_data = st.text_area(display_text)
 
14
  import rdkit
15
  import streamlit as st
16
 
17
+ display_text = 'At this space, you can predict the products of reactions from their inputs. \nThe format of the string is like "REACTANT:{reactants of the reaction}CATALYST:{catalysts of the reaction}REAGENT:{reagents of the reaction}SOLVENT:{solvent of the reaction}". \nIf there are no catalyst or reagent, fill the blank with a space. And if there are multiple reactants, concatenate them with ".".\n(e.g. REACTANT:CNc1nc(SC)ncc1CO.O.O=[Cr](=O)([O-])O[Cr](=O)(=O)[O-].[Na+]CATALYST: REAGENT: SOLVENT:CC(=O)O)'
 
 
 
18
 
19
  class CFG():
20
  input_data = st.text_area(display_text)