The code for the GUI works Locally but with hugging face gives error

The error is below:

Traceback (most recent call last):
File “app.py”, line 4, in
import sklearn
ModuleNotFoundError: No module named ‘sklearn’