Update code snippet

#11
by nielsr HF staff - opened

from_pretrained puts the model in evaluation mode by default, and hf_hub_download is no longer needed.

OriLib changed pull request status to merged

Sign up or log in to comment