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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +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. \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)
 
14
  import rdkit
15
  import streamlit as st
16
 
17
+ display_text = r'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)