wg25r commited on
Commit
a6ce3bf
·
1 Parent(s): 4f43132
Files changed (2) hide show
  1. app.py +2 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -90,7 +90,8 @@ if button:
90
  img = Draw.MolToImage(m)
91
  col.image(img, use_container_width=False)
92
  pubchem_url = "https://pubchem.ncbi.nlm.nih.gov/compound/{}".format(cid[0].cid)
93
- col.markdown("[PubChem]({})".format(pubchem_url))
 
94
 
95
  if contribute:
96
  flagged = check_img(image)
 
90
  img = Draw.MolToImage(m)
91
  col.image(img, use_container_width=False)
92
  pubchem_url = "https://pubchem.ncbi.nlm.nih.gov/compound/{}".format(cid[0].cid)
93
+ col.markdown("[PubChem]({})".format(pubchem_url))
94
+ # col.markdown("[Ask About This]({})".format(pubchem_url))
95
 
96
  if contribute:
97
  flagged = check_img(image)
requirements.txt CHANGED
@@ -1,2 +1,3 @@
1
  pubchempy
2
- rdkit
 
 
1
  pubchempy
2
+ rdkit
3
+ openai