updated readmes for exercises

This commit is contained in:
Jenni Rinker 2024-08-29 19:00:45 +03:00
parent 86e99bb814
commit af567b80b0
3 changed files with 41 additions and 2 deletions

View file

@ -45,7 +45,7 @@ if __name__ == '__main__':
# we need to set the variable before numpy is imported!
os.environ['OMP_NUM_THREADS'] = str(n_threads)
# We delay the import of numpy because we want to set OMP_NUM_THREADS.
# We delay the import of numpy because we have to set OMP_NUM_THREADS before import.
# We delay the import of PIL in case it uses numpy internally.
import numpy as np
from PIL import Image