Hey Thomas, ![]()
You need to tell huggingface what requirements your code needs to run.
You do this by providing a requirements.txt file in the root of your project directory. The following links will give you a little more information about how to structure a python project which you may find helpful.
If you’re on google colab you can generate a requirements.txt file by typing the following in colab terminal (icon bottom left of the window), after running all the cells in your notebook.
pip freeze > requirements.txt
You can then add the requirements.txt to your project directory and push that to huggingface.
I hope this moves you forward. Please let me know if you have any questions/issues. ![]()