Mahmoud Amiri commited on
Commit
e39d063
·
1 Parent(s): f964a65

update readme file

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -217,8 +217,7 @@ def predict_labels_from_text(text: str, text_type: str = "summary", threshold: f
217
  # ----- Example -----
218
  if __name__ == "__main__":
219
  sample_text = (
220
- "We investigate Pt-based nanoparticle catalysts for hydrogen evolution, "
221
- "demonstrating improved activity via ligand tuning and support engineering."
222
  )
223
  ids, labels, probs = predict_labels_from_text(sample_text, text_type="abstract", threshold=0.5)
224
  print("Predicted IDs:", ids)
 
217
  # ----- Example -----
218
  if __name__ == "__main__":
219
  sample_text = (
220
+ "The adsorption capacity of Helix aspera shell for Pb2+, Zn2+ and Ni2+ has been studied. This shell has the potential of adsorbing Pb2+, Zn2+ and Ni2+ from aqueous solution. The adsorption potentials of Helix aspera shell is largely influenced by the ionic character of the ions and occurred according to the order Pb2+ > Ni2+ > Zn2+. The adsorption of Pb(II), Zn(II) and Ni(II) ions from aqueous solutions by Helix aspera shell is thermodynamically feasible and is consistent with the models of Langmuir and Freundlich adsorption isotherms. From the results of the study, the shell of Helix aspera is recommended for use in the removal of Pb2+, Zn2+ and Ni2+ from aqueous solution."
 
221
  )
222
  ids, labels, probs = predict_labels_from_text(sample_text, text_type="abstract", threshold=0.5)
223
  print("Predicted IDs:", ids)