You can go through the tutorial https://www.roytuts.com/upload-and-display-image-using-python-flask/
Do the following:
-
pip install numpy
-
pip install torch
-
pip install torchvision
-
pip install matplotlib
-
pip install scikit-image
-
Comment these in Outpainting
- from html4vision import Col, imagetable
- from PIL import Image