shulik7 commited on
Commit
ee2690e
·
1 Parent(s): edc874f

add several input examples

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -81,6 +81,11 @@ demo = gr.Interface(
81
  ],
82
  title="Naturalness Prediction",
83
  description="Enter SMILES string to get the prediction from the fine-tuned ChemBERTa model.",
 
 
 
 
 
84
  flagging_mode="never"
85
  )
86
 
 
81
  ],
82
  title="Naturalness Prediction",
83
  description="Enter SMILES string to get the prediction from the fine-tuned ChemBERTa model.",
84
+ examples=[
85
+ ["CN1C=NC2=C1C(=O)N(C(=O)N2C)C"], # Caffeine - natural product
86
+ ["CC(C)NCC(COC1=CC=C(C=C1)COCCOC(C)C)O"], # Atenolol - synthetic
87
+ ["CC1=C(C(CCC1)(C)C)C=CC(=CC=CC(=CC(=O)O)C)C"] # Retinoic acid - natural product
88
+ ],
89
  flagging_mode="never"
90
  )
91